.FRX actually is a .DBF of a particular structure, with renamed extension.
What's in your text file, anyway?
Layout for a report? Then you will need to recreate in a report builder.
If, however, it's a data set for a report (in a delimited/fixed width format), you can create a table or cursor of that structure, and append your .TXT data to it, with apprpopriate TYPE clause. Then you can use it in existing report or create a new one, manually or with a wizard.
Not sure if this is what you are looking for, but it sounds as if you are trying to include text stored in a file in a report. You can do this by creating a text box on your report and then setting the control source to a function like this
FUNCTION GetTextFromTextFile
LPARAMETERS lcFileName
IF FILE(lcFilename)
RETURN FILETOSTR(lcFilename)
ELSE
RETURN []
ENDIF
ENDFUNC
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.