
HOWTO: Change Datasource from within VB. Urgent Help Needed
I'm not sure if I really understand why I need a data-definition file. Is
this nessessary to be able to change Datasource ?
I cant believe that CR has made a COM Object(or two :P) which cannot do
this for me. :(.
Is it REALLY impossible for the COM Object to to it ?, is the
Data-Definition file really nessessary (I HOPE to avoid it)
Quote:
> From what I understood, you are using the Report Design Component of CR7.0
> I would suggest that you use the Active Data approach to connect your
> datasource to the report.
> Doing so you have the possibility to hide the type of datasource to the
> report.
> It works as follows:
> - You describe your table layout in a data definition file
> - As data source, you use this data definition file
> - In your VB app, you create a ADO recordset. T
> - connect the recordset as datasource to the table in the report:
> set myReport.database.table(x).datasource = myRecordSet
> We use this method in all our reports. It has great advantages because
you
> have full control of the data that are processed by the report.
> There are many examples in the sample applications that Seagate
distributed
> with the RDC.
> Fred