Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal report file needed as external FRX file

Status
Not open for further replies.

csr

Programmer
Jul 20, 2000
507
When I create the executable (EXE) file for my applications I always include all of the FRX (report) files within the executable. I wish to continue with this practice.

However, I have a need to have a few of those FRX files be external to the EXE so another application can use it.

Is there someway to make a copy of the internal version of the file and put it on the disk as a standalone file and do all of this from within the EXE file ?

Is it as simple as COPY file XXX.FRX to SSS.FRX ?



Don


 
You can try to open it from the code as a table first,
then do COPY TO, not COPY FILE. COPY FILE requires file to be closed, and as a closed file it doesn't exist. COPY TO requires it to be open, and when you open it, it creates a temporary one on the disk. Don't forget to specify the extensions of both source and target files.
 
Stella .... Bingo !

That worked. Thank you very much.




Don


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top