Report cannot open in Vista

C

ChoonBoy

I distributed copies of mde (2003) to PCs with XP and Vista.

This code does not open the reports in Vista pcs but works perfectly in XPs

DoCmd.OpenReport Forms![Vrpts]!lstReports, acViewPreview, "", "", acNormal

Appreciate any help or alternative methods.

Thanks in Advance
 
J

Jeanette Cunningham

Hi ChoonBoy,
This is code I use to open reports in Vista
DoCmd.OpenReport Forms![Vrpts]!lstReports, acViewPreview

Remove all the code after acViewPreview.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 
C

ChoonBoy

Thanks

Jeanette Cunningham said:
Hi ChoonBoy,
This is code I use to open reports in Vista
DoCmd.OpenReport Forms![Vrpts]!lstReports, acViewPreview

Remove all the code after acViewPreview.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


ChoonBoy said:
I distributed copies of mde (2003) to PCs with XP and Vista.

This code does not open the reports in Vista pcs but works perfectly in
XPs

DoCmd.OpenReport Forms![Vrpts]!lstReports, acViewPreview, "", "",
acNormal

Appreciate any help or alternative methods.

Thanks in Advance
 
Top