473,432 Members | 1,450 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,432 software developers and data experts.

Creating a checklist from a table to indicate attandance

I have to create an attendance list for a meeting that will have
attendees that are both on the committee and non member participants.
My thinking is to create a form that has the member names listed with a
check box next to their names in one section of the form, and a list
box in another section to fill in those non-member attendees. To
complicate matters, the report must show name and title, which are 2
distinct fields. Also, the member list may change over time, so the
check boxes would have to be generated from the table of members, and
vary as members join the committee.

Any thoughts would be greatly appreciated.

Dec 19 '05 #1
4 5987
Well, to break it down:

Members:
You can just add a checkbox field in each member's record and bind a
checkbox control on your form to that field. That way, you'd always
have everyone listed on the form as long as they had been entered into
the table of member names. I would also give each of them a unique
identifier to use as a primary key, and in the table that holds their
titles, add the same thing as the foreign key. That way you'll have no
problem getting the member name and title into the report.

Non-Members:
You could create a separate table for non-members and bind your ListBox
to it, if you like. I would probably do away with the ListBox and
simply replace it with a subform in Datasheet view, bound to your
non-members table. When your user types in a non-member's name, it
would create a new record in the table that you can use later. Make
sure there's a unique key in this table as well.

Report:
Just put together a query that selects the member name and title from
the two tables, joined on your unique identifier. A subreport, bound to
your non-members table, will display every non-member who showed up.

Dec 19 '05 #2
In terms of the member list, I need to store this info in a separate
table, so that I can track who attended what meeting. The non member
list is not a problem (I like the subform datasheet idea), but I am
having trouble on the backend combining the data so that I can track
and report. Also, the linked checkbox idea works, but this is a
database I don't plan on working on much more than design and
distribute, so is there a way to have the form automatically add and
delete checkboxes for members (similar to the Switchboard where
depending on how many items you have, that is how many buttons you
see).

My thinking at this point is to have a Yes/No for current membership,
and a query that would remove them from the form, but how do I set up
the list, and how do I track that info back to a table.

Thanks for the help thus far.

Dec 19 '05 #3
I asked this question (or something very close to it) a long time
ago... basically what you have is an person - attendance database. (my
version is probably a serious simplification)

It is here:
http://groups.google.com/group/comp....792fe43b1c0693

Basic table structures:
tblMembers(MemberID, FirstName, LastName...)
tblMeeting(MeetingID, MeetingDate,...)
tblAttendance(MeetingID, MemberID, IsPresent)

All Members who should be at the meeting:
SELECT M.MemberID, M.FirstName, M.LastName, Mtg.MeetingID,
Mtg.MeetingDate
FROM tblMembers As M, tblMeeting As Mtg
WHERE Mtg.MeetingDate = (Some Date);

This will produce all members and your single date.
You can then append this to your join table - tblAttendance.
Then you can check the IsPresent...

Dec 19 '05 #4
If you make a repeating form with a checkbox (bound to your checkbox
field in your members table) and textboxes for the member name, and
bind the form to your members table, it will show one checkbox for each
record (each person) in the table. As members are added or deleted, the
form will show all of the people who are in that members table, no
matter how many or few there are.

Dec 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Galina | last post by:
Hello I am trying to create a table, which includes a field type LONG. The wizard hasn't allowed me to enter storage settings for this table. It set the initial size is 64K and not available to...
5
by: Billy Cormic | last post by:
Hello, I am interested in dynamically creating temp tables using a variable in MS SQL Server 2000. For example: DECLARE @l_personsUID int select @l_personsUID = 9842
4
by: gonzal | last post by:
Hi Dose any body know why a temporary table gets deleted after querying it the first time (using SELECT INTO)? When I run the code bellow I'm getting an error message when open the temp table...
1
by: Paul | last post by:
Hi, I wish to be able to add tables to a sql server database at runtime from my asp.net application. As well as creating fields I also wish to be able to create indexes on selected fields and to...
3
by: Priya | last post by:
Hi, I need to create a temp table in my asp.net web services program. I have an xml file of the format <uom_masters> <uom_code>varchar</uom_code> <uom_description>varchar</uom_description>...
5
by: fjleon | last post by:
Hi, i want to create a table declared inside a <td> , which already exists as follows: <tr> <td id="prueba" colspan="4"> </td> </tr> I have a button somewhere calling this script, which i...
5
by: KewlToyZ | last post by:
Good day, I am stuck in a strange situation. SQL 2000 Server, creating a stored procedure to use in Crystal Reports 11. I am trying to build a report without creating a table or temprorary table in...
1
by: replica watch | last post by:
I am creating a table cell by cell (create the table, add columns, create row, add cells to the row) in which I want to add the capability for users to sort ASC and DESC by column header. Can...
4
by: monion | last post by:
I am having a heck of a time creating a table with more than 140 or so columns when using php into mysql. Any known issues after a certain #? Thanks,
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.