Information générale
Titre:
SYS(1037) Causes C000005 crash if CANCEL/ESC.
If the following code is run and you hit ESC or click on CANCEL in the Dialog Box the program will crash with C000005 on the CREATE REPORT line. If you click on OK, everything will run fine.
= sys(1037) && Page Setup Dialog Box.
CREATE CURSOR Dummy (DumField C(1))
CREATE REPORT TempRpt FROM Dummy
ERASE TempRpt.Frx
ERASE TempRpt.Frt
I am using VFP 6.0 SP 3 on Win98.
I have tried this after having set various printers as the Windows Default Printer via Settings -> Printers before running the code including Epson LQ 870 and HP LaserJet 6p with the HP driver and again setup with the Win98 driver.
Can others duplicate the error and does anybody know a solution?
TIA
Ed
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement