Q: open a query with parameters

M

Mark

All,

I think I took a stupid pill today because I can't figure this one out.

I want to programmatically open up a query like when you use the
docmd.openquery("query name") function. But the query I'm using has
parameters which need to be filled in. I vaguely remember something about
querydef objects, but I can't seem to get it to work.

Can someone point me in the right direction?

Thanks so much!
-Mark
 

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