Hi All,
Suddenly this message appears when I try to create a report using TReport. What can causes this? How to solve it?
TIA,
FWH / xHb / xDevStudio / SQLLIB
Hi All,
Suddenly this message appears when I try to create a report using TReport. What can causes this? How to solve it?
TIA,
I am getting the same erroir using PRINT...ENDPRINT
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
Sorry, I found my problem... duplicate ENDPAGE
Look for a duplicated ENDPAGE in your code
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,