The SetTablePrivateData method is used to provide information about a data source to the database driver associated with the reports database at runtime. For instance, if a report has been designed using the Crystal Active Data Driver this method can be used to provide an active data source for the report, such as a DAO, ADO, or RDO Recordset or a CDO Rowset. In this case, the object passed to the third parameter of this method replaces, at runtime, the field definition file used to create the report.
[form.]Report.SetTablePrivateData TableIndex% , DataTag&, Data
CrystalReport1.SetTablePrivateData 0, 3, rs
Passes a recordset to the first table in the report.
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |