Report cannot open in Vista

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