An easy way to start is to develop a query in query design view, then change views to SQL view. This will give you an idea of the SQL you will need to SELECT from your recordset.
The answer is yes. The real question is what do you want to do?
A Recordset will allow you to programmatically manipulate or read the records. You can create a DAO Querydef object (query) and set it's Sql property and you have a query. You might set the recordsource property of a form or report to an SQL string in VBA. You may also mean you want to build a select statment based on selections of things on a form.
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.