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!

How to pass recordset (ADO) to a report template at runtime?

Status
Not open for further replies.

wmou

Programmer
Apr 17, 2002
3
US
I am using Crystal Report Report(ver8) Desiner Components in VC++6. My data is generated from VC++ application instead of a database. Is it possible for me to use a .rpt file template and pass my data to it at runtime. According to Developer's Guide, one can create a ADO recordset and call SetDataSource method to pass the data. How to create such a .rpt file and bind the fields?

Thanks very much for your help
 
Hi

You can create a data definition file through Crystal or you can use a text editor or several other ways. You can pass an ADO recordset to a Crystal Report in a number of ways. You can do this either through the report designer or from within a Visual Basic or C++ or other application.

Here is a Crystal Decisions technical brief that explains this very well.


Hope this helps.
Eileen McEvoy
Crystal Reports Consultant and Trainer
emcevoy@pacificridge.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top