G
Guest
I have a form with the following controls
Combo30
Value List "> Greater Than";"< Less Than"
Text42
Unbound where I enter a number
Text44
Unbound but with the following data source
=Left([Combo30],1)+[Text42]
So if I select > Greater Than from the Combo Box and enter 2007 in Textbox
42 I get >2007 in Textbox 44.
So Far so good.
Now I have a query with a year field in it. I want the criteria of the
query to be passed from the form control Textbox44. I have tried different
ways but cannot get it to work.
If I enter >2007 directly in the query criteria it works, but if I enter
Forms![Report Builder Form]![Text44] in the criteria it does not.
Can anyone help me out.
Thank you.
Ray
Combo30
Value List "> Greater Than";"< Less Than"
Text42
Unbound where I enter a number
Text44
Unbound but with the following data source
=Left([Combo30],1)+[Text42]
So if I select > Greater Than from the Combo Box and enter 2007 in Textbox
42 I get >2007 in Textbox 44.
So Far so good.
Now I have a query with a year field in it. I want the criteria of the
query to be passed from the form control Textbox44. I have tried different
ways but cannot get it to work.
If I enter >2007 directly in the query criteria it works, but if I enter
Forms![Report Builder Form]![Text44] in the criteria it does not.
Can anyone help me out.
Thank you.
Ray