Hello,

I am using the following vba code, on a form button, to print a report.

DoCmd.OpenReport stDocName, acPreview, , , acHidden

This code works fine in 2002, but falls over in 2000 with the 
following message.

Compile Error

Wrong number of arguments or invalid property assignment

Anyone got any ideas?

Thanks


Reply via email to