It took a while but I found the answer...in a microsoft Q article:
http://support.microsoft.com/kb/304428/EN-US/
It involves using a combination of the Like Operator and the FORMS parameter.
The answer is this:
Like ([Forms]![Form1]![txtbox1]="blah", "*", [Forms]![Form1]![txtbox1])
If the...
Sorry, I think I stated this wrong.
When I say that I want to have a blank criteria, I mean I'd want to replace/remove the criteria [Forms]![Form1]![txtbox1] that exists in the query so it won't filter anything. There's no way for me to do that programmatically. That means that...
I have a form that calls a query and passes a textbox value to be evaluated in an IIF statement. The textbox value default value is the word blah.
The IIF statement looks something like this:
IIF ([Forms]![Form1]![txtbox1]="blah", NULL, [Forms]![Form1]![txtbox1])
The logic is that if the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.