>Hi, George!
>
>In my applications, I give to the user the option of modify system's reports... sometimes they simply destroy some reports, doing the wrong thing. In this case, I'd like to have a option in my application, where I can regerenarate a FRX from a PRG. Do you understande now?
>
>Thanks!
Hi Claudio,
Yep, I understand. Creating a prg to do this would be a major PITA. What I'd suggest, beyond creating regular backups of the files for restoration, would be to store all reports in a single table. The table would have the same structure as a report, but with a dbf extension and an additional column for the file name. Then you could use SELECT...INTO TABLE Whatever.frx with the appropriate WHERE clause to restore the report.
George
Ubi caritas et amor, deus ibi est