Hi, i have a form for printing a report that includes an index, for that first i export the report and after i delete the exported file. The code is:
DoCmd.OutputTo acOutputReport, "repGeneral_pager", acFormatSNP, CurrentProject.Path & "\temp1.snp", False
DeleteFile ("" & CurrentProject.Path & "\temp1.snp")
The time between exporting and deleting is about 1 to 2 min, in that time the hourglass pointer is shown.
If i press the Ctrl+Pause keys several times, a window with title Microsoft Visual Basic appears, saying The code running has been interrupted.
Is there any way of handling that avoids the window popup?
Thanks in advance.
DoCmd.OutputTo acOutputReport, "repGeneral_pager", acFormatSNP, CurrentProject.Path & "\temp1.snp", False
DeleteFile ("" & CurrentProject.Path & "\temp1.snp")
The time between exporting and deleting is about 1 to 2 min, in that time the hourglass pointer is shown.
If i press the Ctrl+Pause keys several times, a window with title Microsoft Visual Basic appears, saying The code running has been interrupted.
Is there any way of handling that avoids the window popup?
Thanks in advance.