Hi,
I have a form with a text edit field (input_text) and button control (go_button).
When the user clicks the button (go_button), I want it to pass the text in the editable field (input_text) into a saved query (qry_myquery). This will return either NULL or a number.
If null is returned, I want it to say it's a bad input and to clear the text control (input_text).
If a number is returned, I want it to close the current form and open a differnt form based on the result (ie, 1 = open form1, 2= open form2). Additionally, I would like to pass the editable field's data (input_text) into the newly opened form and have it auto populated into it's editable control (new control, new_forms_input_text).
Can someone help with this, please?