G
G Lam
Hi, I want to preview a report before it gets printed. I wrote the following
codes, but I only saw the screen just flashed once then the form closed. The
report preview does not stay on the screen. The code just keep on going. How
can I keep the preview on screen?
Thank you.
Gary
Click button sub:
DoCmd.OpenReport "rptQVSPList", acViewPreview, "qryQVSPLIst",
WhereCondition:="SlsOrdNbr = " & SORRdNbr
DoCmd.Close
codes, but I only saw the screen just flashed once then the form closed. The
report preview does not stay on the screen. The code just keep on going. How
can I keep the preview on screen?
Thank you.
Gary
Click button sub:
DoCmd.OpenReport "rptQVSPList", acViewPreview, "qryQVSPLIst",
WhereCondition:="SlsOrdNbr = " & SORRdNbr
DoCmd.Close