I am currently writing a query in Access. I need to set up a parameter query for three fields which are called Status (text field), Authorised (date field) and Legal notices (date field).
I need to set it up so that the user can enter info into each of the fields and run the query from that but I also need to set it up so that if nothing is entered into the parameter boxes that it needs to return all results.
I have set up the first parameter query for the status field which I have entered the text below into the criteria box. This appears to work ok.
Like "*" & [status] & "*"
When I try to use something similar on the other two fields to set up the parameter query the query doesn't return any results.
I need to set it up so that the user can enter info into each of the fields and run the query from that but I also need to set it up so that if nothing is entered into the parameter boxes that it needs to return all results.
I have set up the first parameter query for the status field which I have entered the text below into the criteria box. This appears to work ok.
Like "*" & [status] & "*"
When I try to use something similar on the other two fields to set up the parameter query the query doesn't return any results.
Comment