FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error (6) deleting enhanced metafile. Error Description
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Error (6) deleting enhanced metafile. Error Description
Posted: Thu Jun 14, 2007 06:04 PM

Hi All,

Suddenly this message appears when I try to create a report using TReport. What can causes this? How to solve it?

TIA,

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Error (6) deleting enhanced metafile. Error Description
Posted: Thu Jun 14, 2007 07:43 PM

I am getting the same erroir using PRINT...ENDPRINT

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Error (6) deleting enhanced metafile. Error Description
Posted: Thu Jun 14, 2007 07:49 PM

Hello,

I had the same problem a few weeks ago.

Reason : I used ENDPAGE twice, the one just after the other.

After deleting one ENDPAGE, the problem was solved.

Good luck.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Error (6) deleting enhanced metafile. Error Description
Posted: Thu Jun 14, 2007 07:49 PM

Sorry, I found my problem... duplicate ENDPAGE

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Error (6) deleting enhanced metafile. Error Description
Posted: Thu Jun 14, 2007 07:49 PM

Look for a duplicated ENDPAGE in your code

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Error (6) deleting enhanced metafile. Error Description
Posted: Tue Jun 19, 2007 07:33 PM

After a few days without accessing internet, I am back to tell you that the problem was solved, but it was not a duplicated ENDPAGE. In fact the problem was more complex that I was supposing to.
In my routine, I put in the ON END clause a function that makes a DO WHILE... !EOF() over an other DBF and the TReport:lFinish was (logically) setted TRUE and when the function reaches the end of the page, the problem occurs. But now it's ok, I just put ::lFinish:=.F. and after the DO WHILE setted again to .T.

Thanks for all opinions and help,

Best Regards,

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB

Continue the discussion