I have a form with a combo box that has the following elements as the row source: "<";">";"<=";">=";"=". The name of the combo box is "cboSymbol".
I also have a text box that I can type a dollar amount in. The name of the text box is "txtAmount".
I want to run a query to pull data that matches the information on the form based on the values in these two controls. For instance, if I select ">" in the combo box and put 500 in the text box, I want all records where the dollar amount is greater than $500. Any thoughts on how this can be done? I tried putting the control names in the query grid, but it tells me it is too complex to calculate.
I also have a text box that I can type a dollar amount in. The name of the text box is "txtAmount".
I want to run a query to pull data that matches the information on the form based on the values in these two controls. For instance, if I select ">" in the combo box and put 500 in the text box, I want all records where the dollar amount is greater than $500. Any thoughts on how this can be done? I tried putting the control names in the query grid, but it tells me it is too complex to calculate.