>>Hi Dmitry,
>>
>>You could try StrToFile() and FileToStr().
>>
>>In my test app I include the report 'repoincl.frx' into my app and extract it into 'c:\temp\'.
>>
>>STRTOFILE(FILETOSTR("repoincl.frx"),"c:\temp\repoincl.frx")
>>STRTOFILE(FILETOSTR("repoincl.frt"),"c:\temp\repoincl.frt")
>>MESSAGEBOX("report 'repoincl.frx / .frt' extracted to 'c:\temp\'")
>>
>>
>>HTH
>>
>
>Hi Robert,
>
>Thank you very much for very helpful suggestion.
I also do it this case in many application. I usually call my reports something like OrgGledger.FRX, and include them into my reports. My program checks for these files minus the preceding Org, and if they don't exist, I strtofile() them out of the exe. Then your program can change the report files on your disk at runtime without changing the master reports.
This also gives my customers the possibility to change the reports as much as they want. If they mess it up completely, they delete the files they have changed, and new are created automatically from the master reports in the exe.