Returning query result in code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I return the query result in a function to a module code caller?
 
Charles Tam said:
How do I return the query result in a function to a module code
caller?

If the query returns multiple records, you open a recordset on the
query. If there is only one value you are interested in, and it's a
stored query you are talking about, you can use DLookup to get it,
specifying the query name as the domain argument.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top