ScrmingWhisprs
I <3 Coffee Milk.
- Local time
- Today, 05:15
- Joined
- Jun 29, 2006
- Messages
- 156
I am developing a database for my work to keep track of volunteers we get for community service hours. I have the following tables:
tblVolunteers
VolunteerID (PK)
FirstName
LastName
Address
City
State
Zip
Phone
DateAdded
Notes
tblFiles
FileID (PK)
VolunteerID (FK)
OpenDate
HoursRequired
DueDate
Status
Notes
tblProjects
ProjectID (PK)
Description
Instructions
Status
Priority
DueDate
DateAdded
Notes
tblTransactions
TransactionID (PK)
FileID (FK)
ProjectID (FK)
TransactionDate
TimeIn
TimeOut
StaffInitials
Notes
I have a form where a staff person searches for the volunteer they will be signing in. A listbox displays all the volunteers in the system. They select a name, then click open, and the sign-in form opens to that volunteer. Right now the only thing on the form is the volunteer contact info. I would like to put a listbox next to it that will show all the Files for that volunteer. What I then want to be able to do is click on that file and have a subform show all the transactions (Date, Time In, Time Out, etc…). I’m just not sure how to write the rowsource for the listbox.
Please if you have any questions if I did not clarify myself, please ask!
Thanks ahead of time!
ScrmingWhisprs
tblVolunteers
VolunteerID (PK)
FirstName
LastName
Address
City
State
Zip
Phone
DateAdded
Notes
tblFiles
FileID (PK)
VolunteerID (FK)
OpenDate
HoursRequired
DueDate
Status
Notes
tblProjects
ProjectID (PK)
Description
Instructions
Status
Priority
DueDate
DateAdded
Notes
tblTransactions
TransactionID (PK)
FileID (FK)
ProjectID (FK)
TransactionDate
TimeIn
TimeOut
StaffInitials
Notes
I have a form where a staff person searches for the volunteer they will be signing in. A listbox displays all the volunteers in the system. They select a name, then click open, and the sign-in form opens to that volunteer. Right now the only thing on the form is the volunteer contact info. I would like to put a listbox next to it that will show all the Files for that volunteer. What I then want to be able to do is click on that file and have a subform show all the transactions (Date, Time In, Time Out, etc…). I’m just not sure how to write the rowsource for the listbox.
Please if you have any questions if I did not clarify myself, please ask!
Thanks ahead of time!
ScrmingWhisprs