FoeHunter
Board Regular
- Joined
- Nov 12, 2008
- Messages
- 236
I have a query that uses a criteria similar to the one below. The only downside to this is that I have to have the “SearchForm” open in the background while the rest of the code that opens/closes the query then opens the form runs.
Would it be possible to have the search criteria be saved as a global variable or is an all-too-common example where I have made things more difficult than need be by choosing the more troublesome path?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o> </o>
Would it be possible to have the search criteria be saved as a global variable or is an all-too-common example where I have made things more difficult than need be by choosing the more troublesome path?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o> </o>
Code:
[FONT=Times New Roman]Like "*" & [forms]![SearchForm].[QNSN1] & "*"[/FONT]