lnFile=ADIR(laDummy,'*.FR*') IF lnFile=0 MESSAGEBOX('Error, no reports') RETURN .f. ELSE CREATE TABLE REPORTS (filename c(20), contents m NOCPTRANS ) FOR lnCounter = 1 TO lnFile APPEND BLANK REPLACE filename WITH laDummy(lnCounter,1) APPEND MEMO contents FROM (laDummy(lnCounter,1)) ENDFOR MESSAGEBOX('Finished without errors') RETURN .t. ENDIFThe file reports.dbf is included into my exe. To run a report:
USE REPORTS SCAN FOR LIKE('THISREPORT.FR*',FILENAME) COPY MEMO CONTENTS TO (FILENAME) ENDSCAN USE SELECT REPORTMASTER && The table to report from REPORT FORM THISREPORT ERASE THISREPORT.*>Frx2Any it's a good products but you have to include .FRXs file on clients PCs. I've been trying for a long time to make it work with reports included in the .exe file.