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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystall report using a DLL/datapipe

Status
Not open for further replies.

Zak2009

Programmer
Sep 4, 2009
325
KE
Hi all,

How do you connect a new crystal report to an existing DLL so that you can use the fields in the new report.

Regards,
 
I've developed a few DLL that generate data for Crystal Reports. What does your DLL do. It needs to use COM to create an ADODB recordset object. If it doesn't you might need some custom code to wrap the Recordset around your DLL.

Then in crystal reports, select the COM data driver and give it the object name of the registered DLL.

For example my CrystalCalendar DLL registers an object called CrystalCalendar.DataProvider. The COM driver can then see the two recordset objects inside that DLL to use as a data source.

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top