OpenQuery Command

S

Sok

Can someone please tell me why this line of code isn't
working?

DoCmd.OpenQuery("Requirements Master Table Query",
acViewPreview, acEdit)

Please let me know, thanks.
 
C

Cheryl Fischer

I think this is run without parentheses, for example:

DoCmd.OpenQuery "Requirements Master Table Query", acViewPreview,
acEdit

Also, if you use acViewPreview instead of acViewNormal, you will not be able
to edit the resultset.


hth,
 

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