Error Base/1005 Message Not Found: TFONT_END

Error Base/1005 Message Not Found: TFONT_END

Postby toyet » Wed Nov 14, 2007 9:12 pm

Please help,

Pops up when trying to activate a report class with preview.
But does not always popup running the same code with
different data. However, seems to have a favorite data
when it pops up.

What triggers this?

Toyet
User avatar
toyet
 
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines

Postby Antonio Linares » Wed Nov 14, 2007 9:41 pm

Toyet,

Please post the complete callstack, thanks
regards, saludos

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

Postby toyet » Wed Nov 14, 2007 9:47 pm

Antonio,

Application
===========
Path and name: C:\TEST.EXE (32 bits)
Size: 6,428,672 bytes
Time from start: 0 hours 0 mins 20 secs
Error occurred at: 11/14/07, 06:37:03
Error description: Error BASE/1005 Message not found: TFONT:_END

Stack Calls
===========
Called from: => TFONT:ERROR(175)
Called from: tobject.prg => (b)HBOBJECT:HBOBJECT(105)
Called from: => TFONT:MSGNOTFOUND(0)
Called from: FONT.PRG => TFONT:_END(167)
Called from: => __OBJSENDMSG(0)
Called from: HARBOUR.PRG => OSEND(0)
Called from: HARBOUR.PRG => ASEND(0)
Called from: REPORT.PRG => TREPORT2:END(1402)
Called from: REPORT.PRG => TREPORT2:ACTIVATE(890)
Called from: PAYMREF1.PRG => REPMAGMED(2717)
Called from: PAYMREF1.PRG => (b)PREREPMAGMED(2224)
Called from: BUTTON.PRG => TBUTTON:CLICK(0)
Called from: CONTROL.PRG => TBUTTON:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: DIALOG.PRG => TDIALOG:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOXINDIRECT(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: PAYMREF1.PRG => PREREPMAGMED(2235)
Called from: PAY_FSET.PRG => (b)MAG_SUMMARRY(57)
Called from: BUTTON.PRG => TBUTTON:CLICK(0)
Called from: CONTROL.PRG => TBUTTON:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: DIALOG.PRG => TDIALOG:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOXINDIRECT(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: PAY_FSET.PRG => MAG_SUMMARRY(62)
Called from: => FSXML_SWT_SUM(3291)
Called from: => FSXML_941SUM(1553)
Called from: PAY_FSET.PRG => (b)FSGOMAKEFILE(830)
Called from: BUTTON.PRG => TBUTTON:CLICK(0)
Called from: CONTROL.PRG => TBUTTON:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: DIALOG.PRG => TDIALOG:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOXINDIRECT(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: => FSGOMAKEFILE(835)
Called from: PAY_FSET.PRG => FSETNEWXMLFLNM(668)
Called from: PAYMAG.PRG => MAG_FILE(1408)
Called from: PAYMAG.PRG => (b)MAGFORMS(1136)
Called from: BUTTON.PRG => TBUTTON:CLICK(0)
Called from: CONTROL.PRG => TBUTTON:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: DIALOG.PRG => TDIALOG:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOX(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: PAYMAG.PRG => MAGFORMS(1205)
Called from: => MAG_RPT(1483)
Called from: pay2.prg => (b)ACC_RPT(1361)
Called from: BTNBMP.PRG => TBTNBMP:CLICK(0)
Called from: BTNBMP.PRG => TBTNBMP:LBUTTONUP(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: CONTROL.PRG => TBTNBMP:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: pay1.prg => MAIN(1412)
User avatar
toyet
 
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines

Postby Antonio Linares » Wed Nov 14, 2007 10:14 pm

It looks as you have created a new Class TReport2 and there you have a typo: you have written oFont:_End() instead of oFont:End()

Please review your Class TReport2, thanks
regards, saludos

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

Postby toyet » Wed Nov 14, 2007 10:22 pm

Ok thanks Antonio,

I have tried to change :_End() to :End(). The error is gone.

I'll check with my colleagues why the need for a different
TReport class prg.

Toyet
User avatar
toyet
 
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests

cron