L
L Mehl
Hello --
Problem:
A report opened in acViewPreview mode displays as a tray icon, rather than
in Preview mode.
The report used to print OK, and I can't remember what code I might have
changed to cause the problem.
Is this enough of a sketch of the code to help me figure out what is wrong?
--------------------------------------------
'open report manager
DoCmd.OpenForm "frmMenuReports"
'on this form, choose to print selected records
click cmdPrintSelectedRecords 'this opens the next form
'open the form on which user selects record
DoCmd.OpenForm "frmSelectLot", acNormal, , ,
acFormEdit, acDialog,
'on this form, print the report
click cmdContinue 'opens the report
DoCmd.OpenReport "rptTrnsact", acViewPreview, , WHEREclause_to_select_record
(The report displays as icon in tray)
DoCmd.Close acForm, "frmSelectLot"
Problem:
A report opened in acViewPreview mode displays as a tray icon, rather than
in Preview mode.
The report used to print OK, and I can't remember what code I might have
changed to cause the problem.
Is this enough of a sketch of the code to help me figure out what is wrong?
--------------------------------------------
'open report manager
DoCmd.OpenForm "frmMenuReports"
'on this form, choose to print selected records
click cmdPrintSelectedRecords 'this opens the next form
'open the form on which user selects record
DoCmd.OpenForm "frmSelectLot", acNormal, , ,
acFormEdit, acDialog,
'on this form, print the report
click cmdContinue 'opens the report
DoCmd.OpenReport "rptTrnsact", acViewPreview, , WHEREclause_to_select_record
(The report displays as icon in tray)
DoCmd.Close acForm, "frmSelectLot"