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?
 
Top