Launching a Report

M

MarianneZ

I created a form to get certain data and then I want to display a report. As
the form closes, I issue the instruction:

wherephrase = "Some appropriate selection"
DoCmd.OpenReport "rptName",acViewNormal,,wherephrase,acWindowNormal,Args

No Report appears on my screen; instead it prints. I was explicit about
acViewNormal and acWindowNormal; still prints. The wherephrase is OK, it
worked elsewhere.
 

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