I have a bound form with the following comboboxes
The form works great when adding new records but if the supervisor needs to edit the data entered, they have to search for the correct record.
My thought was to let them select one of the combo boxes above and then return all records that match that criteria.
I tried it with Enteredby using code that I found on this site but it keeps giving me errors so I guess I'm not understanding it correctly.
It keeps telling me it doesn't recognize me![cmbEnteredby] value (in this case lhuffst)
What am I doingwrong and since there are multiple choices they can choose from, is this the best way?
I can envision them wanting to get all the records for one person on a specific date. Not sure if that is possible
Any guidance or suggestions are definitely appreciated.
Code:
DatabaseName FormName recordsource
category category = SELECT TblCategory.Category, TblCategory.ID FROM TblCategory;
EnteredBy EnteredBy = SELECT TUsers.UserAbbrv, TUsers.WSSCID, TUsers.UserName, TUsers.UserType FROM TUsers WHERE (((TUsers.UserType)="work"));
DateAdded DateAdded = has date pickcer
SubmittedBy SubmittedBy = SELECT TUsers.UserAbbrv, TUsers.WSSCID, TUsers.UserName, TUsers.UserType FROM TUsers WHERE (((TUsers.UserType)="work"));
My thought was to let them select one of the combo boxes above and then return all records that match that criteria.
I tried it with Enteredby using code that I found on this site but it keeps giving me errors so I guess I'm not understanding it correctly.
Code:
Me.RecordsetClone.FindFirst "[EnteredBy] = '" & Me![cmbEnteredBy] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
What am I doingwrong and since there are multiple choices they can choose from, is this the best way?
I can envision them wanting to get all the records for one person on a specific date. Not sure if that is possible
Any guidance or suggestions are definitely appreciated.