I have a query which I want to either take it's criteria from either a text box on an open form (the user can click a button on the form to open the query) or I want for it to ask the user for an ID number (I also want the option to open the query from a main menu type screen with the form closed)
I tried entering in the Criteria for the query [Forms]![MyForm]![IDNumber] Or [Please enter ID number] but this asks for both inputs. Is there a way I can have one or the other?
Thanks.
I tried entering in the Criteria for the query [Forms]![MyForm]![IDNumber] Or [Please enter ID number] but this asks for both inputs. Is there a way I can have one or the other?
Thanks.