Launching a Report

  • Thread starter Thread starter MarianneZ
  • Start date Start date
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.
 
Back
Top