Page 1 of 1

problem with printing

Posted: Tue Dec 13, 2005 6:34 am
by Patrick Chalvet
when I preview the printing I receive this error message

Error (6) deleting enhanced metafile
Error description

FIVEWIN version 2.7
xHarbour Compiler build 0.99.51 (SimpLex)
bcc

No problem with fivewin 2.5

Posted: Tue Dec 13, 2005 8:28 am
by Antonio Linares
Patrick,

Please check that you are doing a oReport:End() just once. That error usually appears when more than once the report is End()ed.

Posted: Wed Dec 14, 2005 3:02 am
by Patrick Chalvet
Antonio,
Thank you
fix now with your suggestion.
I use to finish report with
ENDPAGE
ENDPRINT

IF I comment out ENDPAGE, no error.
I confirm that this does not occur since FWH 2.1