Hi guys,
I have a form with an unbound textbox. It provides the parameter for a number field in a query.
I'd like for the user to be able to enter their own operators (">2" for example) and this gets passed to the query and ran.
The query works perfectly when the number is by itself, however when any operators are entered it errors (too complex or incorrect punctuation). I have tried all the combinations of " ' & etc. i can think of to pass it to the query criteria but it errors without fail.
Any help would be greatly appreciated as I've wasted hours and hours on this through trial and error (error, error) and googling.
It's driving me insane!
Many thanks,
Dan
I have a form with an unbound textbox. It provides the parameter for a number field in a query.
I'd like for the user to be able to enter their own operators (">2" for example) and this gets passed to the query and ran.
The query works perfectly when the number is by itself, however when any operators are entered it errors (too complex or incorrect punctuation). I have tried all the combinations of " ' & etc. i can think of to pass it to the query criteria but it errors without fail.
Any help would be greatly appreciated as I've wasted hours and hours on this through trial and error (error, error) and googling.
It's driving me insane!
Many thanks,
Dan
Comment