Hi,
I recently just created a search form where users may enter 3 types of criteria, with results showing below in a list box. When a user double clicks the result it brings them to the whole record. For some odd reason when I close out of the database and reopen the search form, My cursor will not click inside the criteria text boxes and If I double click a record below (All records show when no criterias entered) it gives me a runtime error #3075 " Synatx error (Missing Operator) in query expression 'ID='. "
Here is the code that I use to load record after record is double clicked:
Code:
DoCmd.OpenForm "Part Search", , , "ID =" & [Forms]![Search]![SearchResults]
Any ideas on why it might be doing this/how to fix it? Any help is much appreciated!
Thanks!
I recently just created a search form where users may enter 3 types of criteria, with results showing below in a list box. When a user double clicks the result it brings them to the whole record. For some odd reason when I close out of the database and reopen the search form, My cursor will not click inside the criteria text boxes and If I double click a record below (All records show when no criterias entered) it gives me a runtime error #3075 " Synatx error (Missing Operator) in query expression 'ID='. "
Here is the code that I use to load record after record is double clicked:
Code:
DoCmd.OpenForm "Part Search", , , "ID =" & [Forms]![Search]![SearchResults]
Any ideas on why it might be doing this/how to fix it? Any help is much appreciated!
Thanks!