My main form has a subform that has a one-to-many relationship.
It is a work order system that could have many entries related to the single work order. A line is created in the WorkData table when he signs on. When the user is signing off of the work order I want him to be able to select and display only his entry.
I elected to have only one entry shown in the sub form at a time instead of showing all entries. The user will select his entry from a combo box that is populated by a query that restricts the list to only those names currently signed onto that work order. Then the user can enter his comments, click the "Save" button and exit.
My problem is that when the user name is selected:
1. I can't get it to go get the data from the table/appropriate line, and populate the data already given (Start date/time, etc.)
2. It creates a new entry in my WorkData table instead of editing the already existing entry. (Kind of explains #1?)
Sample database is attahced.
Thanks