*-- set the datasource to your current path and name cconnect = "Provider=VFPOLEDB.1;Data Source=c:\mydata\testdata.dbc" thisform.ReportManX.Preview = .T. thisform.ReportManX.setDatabaseConnectionString("VFPSAMPLES",cconnect) *-- run the report thisform.ReportManX.execute()If you want to see the current value of the connection string:
cconnect = thisform.ReportManX.getDatabaseConnectionString("VFPSAMPLES") Wait Window cconnect>here i am bodering you again with Report Manager.