Sorry, this is probably a bit basic but it has got me stumped. I am learning Access 97.
I wanted to have two buttons on a form that ran the same
query but with different parameters. e.g. one selected records called "A10" and then the other selected all records (*). I have used the global function() route as explained in various articles and called the function() from the Criteria field on the query design view. When I put "A10" into the code in the function under the button everything works fine. When I put * or "*" or " LIKE "*"" to get all records it doesn't find any match. Where have I gone wrong?
I wanted to have two buttons on a form that ran the same
query but with different parameters. e.g. one selected records called "A10" and then the other selected all records (*). I have used the global function() route as explained in various articles and called the function() from the Criteria field on the query design view. When I put "A10" into the code in the function under the button everything works fine. When I put * or "*" or " LIKE "*"" to get all records it doesn't find any match. Where have I gone wrong?