Seria possível o FASTREPORT carregar um arquivo texto?
Seria possível o FASTREPORT carregar um arquivo texto?


Otto,
sorry, did not understand. I have a file named TEST.TXT, I would load it with FASTREPORT.
Thank you for responding.
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()
Otto,
Thanks!!!!!