G
Guest
I have a field with a Yes/No data type in a table. When I run a query with the Criteria for this field hardcoded to either "Yes" or "No" everything works fine. However I really want the query to prompt the user to input the Yes/No value. I have tried to do this two different ways
a) putting the user prompt in square brackets in the Criteria. This works fine as long as the user enters either -1 or 0 when prompted. This is not very intuitive, I would prefer if the user could enter yes or no instead
b) using Query / Parameters... to enter the prompt and the data type (Yes/No). I can't get this to work at all as every record seems to be returned regardless of whether -1 or 0 is entered when prompted
Does anyone know how to set up a prompt for the user so that he can enter either "yes" or "no" ?
a) putting the user prompt in square brackets in the Criteria. This works fine as long as the user enters either -1 or 0 when prompted. This is not very intuitive, I would prefer if the user could enter yes or no instead
b) using Query / Parameters... to enter the prompt and the data type (Yes/No). I can't get this to work at all as every record seems to be returned regardless of whether -1 or 0 is entered when prompted
Does anyone know how to set up a prompt for the user so that he can enter either "yes" or "no" ?