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
 

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

Back
Top