FASTREPORT carregando um arquivo texto (TXT)

FASTREPORT carregando um arquivo texto (TXT)

Postby MGA » Tue Jul 10, 2012 4:51 pm

Seria possível o FASTREPORT carregar um arquivo texto?
ubiratanmga@gmail.com

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: FASTREPORT carregando um arquivo texto (TXT)

Postby Otto » Wed Jul 11, 2012 5:17 am

Maybe this is what you need
regards,
Otto

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: FASTREPORT carregando um arquivo texto (TXT)

Postby MGA » 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

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: FASTREPORT carregando um arquivo texto (TXT)

Postby Otto » Wed Jul 11, 2012 3: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()
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: FASTREPORT carregando um arquivo texto (TXT)

Postby MGA » Wed Jul 11, 2012 4:11 pm

Otto,

Thanks!!!!!
ubiratanmga@gmail.com

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests