Error (6) deleting enhanced metafile. Error Description

Error (6) deleting enhanced metafile. Error Description

Postby Kleyber » Thu Jun 14, 2007 6: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
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Postby cdmmaui » Thu Jun 14, 2007 7:43 pm

I am getting the same erroir using PRINT...ENDPRINT
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby driessen » Thu Jun 14, 2007 7: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby cdmmaui » Thu Jun 14, 2007 7:49 pm

Sorry, I found my problem... duplicate ENDPAGE
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Thu Jun 14, 2007 7:49 pm

Look for a duplicated ENDPAGE in your code
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42100
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Kleyber » Tue Jun 19, 2007 7: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
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 88 guests