I have a reports form, frmReports where users can select a report and then
click Open.
On just one machine I have this problem; the report opens very quickly
(though I only see a flash of something, this happens so quickly I don't see
the actual data or any formatting) and then it goes back to frmReports.
Therefore my chosen report does not open. One report works ok - I can't see
why this is.
Here's how it's all organised;
Each report is opened like so;
stDocName = "rptMyReport"
Me.Visible = False 'this hides frmReports
DoCmd.OpenReport stDocName, acPreview
Each report runs Docmd.Maximize in the Open event after some other code (not
the cause of the problem).
Finally In the close event of each report we have;
Private Sub Report_Close()
DoCmd.Restore
Forms!frmReports.Visible = True
End Sub
The mde I supplied works fine on other pcs including my own. The problem
still happened when the user upgraded to a new pc. So the common factor
would seem to be the printer and/or printer driver. Beyond that I can't
fathom this out. It's tricky for me to test the pc so the more info I have
before I go in the better.
Any suggestions?
Many thanks
Martin