G
gymcshoe via AccessMonster.com
I'm trying to build a query that pulls information from a form
On the form, there's a text box that I would like the user to type in "<3000"
for example. How do I build the query to pull this in as a criteria?
For Example If the user types in "<3000" into the revenue text box,
I want all records that have less than 3000 in revenue to be shown. similarly,
if the user decides to look for records with <500 in revenue, if they type in
"<500" then records with less than 500 revenue will be shown. If the user
does not type in anything, then I want all records to be shown. Thanks
This alone does not work: [Forms]![Form3]![Revenue]
I get the this expression is typed incorrectly or is too complicated error.
Thanks again for the help
On the form, there's a text box that I would like the user to type in "<3000"
for example. How do I build the query to pull this in as a criteria?
For Example If the user types in "<3000" into the revenue text box,
I want all records that have less than 3000 in revenue to be shown. similarly,
if the user decides to look for records with <500 in revenue, if they type in
"<500" then records with less than 500 revenue will be shown. If the user
does not type in anything, then I want all records to be shown. Thanks
This alone does not work: [Forms]![Form3]![Revenue]
I get the this expression is typed incorrectly or is too complicated error.
Thanks again for the help