G
Guest
Criteria for a number field in query design view is coming from a Form
unbound text box.
[Forms]![Form1].[NumberTxtBox]
When user puts X (i.e. 100) in that textbox and runs the query - all the
records with a 100 value are returned...works fine.
But in this design for the user to put in >X into the textbox (i.e. >100)
it will not work - returns 0 records; the > symbol is literally not in the
field.
(Note: if one puts >100 directly into the query design criteria - it
works....it does not work via the [Forms]![Form1].[NumberTxtBox] method)
Also when the text box is left empty - it is desired that this is
interpreted as "All"...
How would these two needs be accomplished? thnx
unbound text box.
[Forms]![Form1].[NumberTxtBox]
When user puts X (i.e. 100) in that textbox and runs the query - all the
records with a 100 value are returned...works fine.
But in this design for the user to put in >X into the textbox (i.e. >100)
it will not work - returns 0 records; the > symbol is literally not in the
field.
(Note: if one puts >100 directly into the query design criteria - it
works....it does not work via the [Forms]![Form1].[NumberTxtBox] method)
Also when the text box is left empty - it is desired that this is
interpreted as "All"...
How would these two needs be accomplished? thnx