Pass the results of a query to a variable

T

Tony A.

I created a query using the Query Builder, the result has one record with two
columns. I'd run the query, and pass the value of one column to a variable.
Any suggests on how this might be done or any suggestion of a better way to
reach the same goal?
 
J

John W. Vinson

I created a query using the Query Builder, the result has one record with two
columns. I'd run the query, and pass the value of one column to a variable.
Any suggests on how this might be done or any suggestion of a better way to
reach the same goal?

variable = DLookUp("fieldname", "queryname")
 

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

Top