DaveyCrockett
Programmer
Hello Everyone,
I have had so much success by posting to Tek-Tips that I thought I would return for another tip.
I am trying to help out a church to assist them in their recordkeeping of class attendence. They currently have the people sign in and keep the sheets filed. I thought it would be best if they had a little VB application that had 3 MS access tables.
tblClasses
tblPeople
tblAttendence
On the input form, I have the date attended as an input (default of NOW()), have a class populated with classes.
When the "data entry clerk" selects the class, I get the attendees who belong to the class (specified in the tblPeople where classID = tblPeople.Class1 or classID = tblPeople.Class2 -- as they can only belong to up to 2 classes)
So, I poplulate a list box with all the People for the selected class with the style set to checkbox. This will allow the clerk to select who attended the class that day then hit a submit button to add all attendees to the tblAttendance table.
My issue is, how do I enter the selected people? How do I tell who is selected? Any assistance would be appreciated and code sample would be SSSS
Thank you all in advance
I have had so much success by posting to Tek-Tips that I thought I would return for another tip.
I am trying to help out a church to assist them in their recordkeeping of class attendence. They currently have the people sign in and keep the sheets filed. I thought it would be best if they had a little VB application that had 3 MS access tables.
tblClasses
tblPeople
tblAttendence
On the input form, I have the date attended as an input (default of NOW()), have a class populated with classes.
When the "data entry clerk" selects the class, I get the attendees who belong to the class (specified in the tblPeople where classID = tblPeople.Class1 or classID = tblPeople.Class2 -- as they can only belong to up to 2 classes)
So, I poplulate a list box with all the People for the selected class with the style set to checkbox. This will allow the clerk to select who attended the class that day then hit a submit button to add all attendees to the tblAttendance table.
My issue is, how do I enter the selected people? How do I tell who is selected? Any assistance would be appreciated and code sample would be SSSS
Thank you all in advance