How to run a query and put the result into a variable

Posted by every_answer_gets_a_point on Stack Overflow See other posts from Stack Overflow or by every_answer_gets_a_point
Published on 2010-05-14T21:58:57Z Indexed on 2010/05/14 22:24 UTC
Read the original article Hit count: 165

Filed under:
|
|

I am running a query from the VBA editor of Access:

select max(somerow) from sometable

I want to put the result of this query into a VBA variable. How do i do it?

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about vba