Q
QB
I set a query to pull its`criteria from a form using
Forms![FormName].[ControlName]
That said, I now have a twist and need help in addressing it.
The control in question is a combo box which has a listing of values (there
a concept!), but it also have a value='All' which when select I would need no
criteria apply to the query.
I tried applying an IIF to the criteria but it doesn`t work
iif(Forms![FormName].[ControlName]="All", Like
"*",Forms![FormName].[ControlName])
How can I make this work the way I need it to?
Thank you,
QB
Forms![FormName].[ControlName]
That said, I now have a twist and need help in addressing it.
The control in question is a combo box which has a listing of values (there
a concept!), but it also have a value='All' which when select I would need no
criteria apply to the query.
I tried applying an IIF to the criteria but it doesn`t work
iif(Forms![FormName].[ControlName]="All", Like
"*",Forms![FormName].[ControlName])
How can I make this work the way I need it to?
Thank you,
QB