- Local time
- Today, 18:34
- Joined
- Feb 19, 2002
- Messages
- 45,944
Perhaps you just didn't understand the explanation Only the one line of code is required to do what I described. The query contains the criteria. the code simply reruns the form's RecordSource query to force it to select the requested value.as you would need a few more lines to add to the AfterUpdate event of the combo to do the search, add a control and modify the record source of the form and probably the biggest impact would be that in some cases the combo "search" could interfere with some custom search code (some people use filters, some change the recordsource, search as you type, etc.).
@Sampoline, since you seem to be happy with your current solution, I won't go into details. But to make the form open to a specific record, you would pass the ID in the OpenArgs and use code in the form's Open event to populate the combo.