Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports 6 - SetPrivateData using ADO.recordset

Status
Not open for further replies.

Tonia

Programmer
Apr 12, 1999
1
AU
Thanks in advance for your help,

I am trying to use an ADODB.recordset (v2.5) as the datasource for a Crystal Reports (v6.0.1.151) report that was created using an Active Data (Field Definition) file.
I am setting the datasource within a Visual Basic 6 application using cpeaut32.dll(v1.0.0.10) SetPrivateData(3, rs) function.
I am not receiving any errors and the report is picking up the right number of records from the recordset.
** However, the fields on the report are not being filled with the data provided by the recordset, they only show the sample data provided for each record Ugggh.
** If I use a RDO.resultset every thing works fine, but I am keen to use ADO because the rest of my application uses ADO.

It has taken me a while just to get this far so any help would be appreciated. :cool:
Regards,
Tonia


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top