how to run a query from the VBA Editor window in ACCESS?

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:38:58Z Indexed on 2010/05/14 21:44 UTC
Read the original article Hit count: 139

Filed under:
|
|

i would like to do something like this:

DoCmd.OpenQuery "select * from some_table;"

how would i do this?

please keep in mind i don't want create a new query, save it, and run it, i just want to type the select statement in the vba code and run it.

© Stack Overflow or respective owner

Related posts about vba

Related posts about sql