I would like to use a function in the criteria section of my access table. Is this possible? I want to make the criteria area dynamic, so I thought if I add a function from a module it could work.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can use a user function (or any other VBA function) in the criteria of your queries. Just be mindful of the fact that it will pull the data down locally to do the filtering work so if that is your only filter criteria and you are querying a large table over a network you might run into problems