I would suggest you create your query in query design mode and test it. If it works, just view the query's SQL. You should be able to copy and past the SQL string where you need it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.