Hi, i am using Access 2000. I have a button in a emerging form with the code:
Application.Echo False
DoCmd.OpenReport "infGlosar", acViewPreview
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, "infGlosar"
Application.Echo True
By pressing this button, the print dialog window opens. If i cancel this window, after closing the emerging form the exact area in which this form was placed is occuped by a grey uniform color, the same color that the background of Access with DB window not maximiced. I have catched this with Err.number 2501, but i haven't added a workable code.
Is that usual? Is there a way to handle it?
Thanks for looking.
Application.Echo False
DoCmd.OpenReport "infGlosar", acViewPreview
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, "infGlosar"
Application.Echo True
By pressing this button, the print dialog window opens. If i cancel this window, after closing the emerging form the exact area in which this form was placed is occuped by a grey uniform color, the same color that the background of Access with DB window not maximiced. I have catched this with Err.number 2501, but i haven't added a workable code.
Is that usual? Is there a way to handle it?
Thanks for looking.