Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using formulas as query criteria from a lookup table

Status
Not open for further replies.

Tfost

IS-IT--Management
Mar 8, 2004
11
0
0
GB
I am trying to set an option on a form (either a lookup table or check box) which will then activate the following criteria in a query <date(). I have tried setting this formula up in the lookup table and I have also tried setting an IIF statement to pass this expression to the query when a checkbox is checked. However I keep getting the same error.

"The expression is typed incorrectly, or is too complex to be evaluated......"

Any help would be extremely gratefully recieved.
 
I have solved this problem myself if anyone is interested this is how I did it.

i set up a filter in the reports query to search for records which met the criteria <date().

I then used the applyfilter macro command to activate this filter when the correct checkbox is checked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top