FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour FASTREPORT carregando um arquivo texto (TXT)
Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
FASTREPORT carregando um arquivo texto (TXT)
Posted: Tue Jul 10, 2012 04:51 PM

Seria possível o FASTREPORT carregar um arquivo texto?

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: FASTREPORT carregando um arquivo texto (TXT)
Posted: Wed Jul 11, 2012 05:17 AM
Maybe this is what you need
regards,
Otto



Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: FASTREPORT carregando um arquivo texto (TXT)
Posted: Wed Jul 11, 2012 11:10 AM

Otto,

sorry, did not understand. I have a file named TEST.TXT, I would load it with FASTREPORT.

Thank you for responding.

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: FASTREPORT carregando um arquivo texto (TXT)
Posted: Wed Jul 11, 2012 03:38 PM

You can try opening the text file and then pass the variable.
Best regards,
Otto
cText := memoread("text.txt")
oFr := frReportManager():New()
oFr:LoadLangRes( "German.xml" )
oFr:SetIcon( 1 )

oFr:LoadFromFile( ".\REPS\TRANSFERS.FR3" )
oFr:AddVariable( "MYDATA", "cLongText" , "'" + cText +"'" )

oFr:ShowReport()

Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: FASTREPORT carregando um arquivo texto (TXT)
Posted: Wed Jul 11, 2012 04:11 PM

Otto,

Thanks!!!!!

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin

Continue the discussion