Opening Reports cont....

J

James

If I put it in there then I get a wrong number or
arguments error Please confirm that what you are asking is
correct by typing me the code please.

Cheers

James

James,

You're missing a comma.
In the OpenReport method, acDialog is the 4th argument,
not the 3rd after
the Report Name.


DoCmd.OpenReport "RptSelectDept", acViewPreview, , ,
acDialog

You are using Access 2000 or later, aren't you?
 

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