This seems like a pretty hot topic right now, but I am running into problems with this. I am trying to filter a timesheet using two listboxes. I must be doing something wrong.
I have an timesheet table that pulls information from the employee table and date tablem to create the timesheet. The timesheet table looks up values from the employee table and the date tables.
When I create a form to create the filter for the timesheet I want to be able to choose the employee and then fill another listbox with only the dates of timesheets that can be chosen. I am really stuck about how to accomplish this. It seems like you have to have two tables linked together with keys. I have the TimesheetID, and then EmployeeID, and DateID from separate tables all in the timesheet table. Is there a way to accomplish this? I hope this makes sense.
I have an timesheet table that pulls information from the employee table and date tablem to create the timesheet. The timesheet table looks up values from the employee table and the date tables.
When I create a form to create the filter for the timesheet I want to be able to choose the employee and then fill another listbox with only the dates of timesheets that can be chosen. I am really stuck about how to accomplish this. It seems like you have to have two tables linked together with keys. I have the TimesheetID, and then EmployeeID, and DateID from separate tables all in the timesheet table. Is there a way to accomplish this? I hope this makes sense.