On Error Do ErrHand thisform.oleMSCommonDialog.CancelError=.T. thisform.oleMSCommonDialog.ShowPrinter On Error thisform.oleCrystal.Destination=0 thisform.oleCrystal.ReportFilename=cPath+'visitas.rpt' thisform.oleCrystal.PrintReport For debugging purposes ErrHand is a PRG with the following code: Procedure ErrHand wait window "Error 32755 has occured" ReturnErrHand routine is not being called, even if exiting Printer dialog with cancel button, that is, error message above is not displayed.