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!

How can I pass/map selected fields from ADO recordset

Status
Not open for further replies.

Rosalie

Programmer
Jul 6, 2001
3
US
Can someone point me in the right direction...
I am using Crystal Reports 8.5, VB6, ADO, CRAXDRT, Active Data Driver, SqlServer7.
I have formatted my report and use the Recordset that I create in VB to populate it. It works fine when I do a 'Select *' but when I select only the fields that I need on the report, the fields do not populate on the report(they are populated in the recordset and I am selecting them in the order that they appear on the report). I am using the 'Report.Database.SetDataSource myrecordset, 3'.

I ultimately want to join 4 tables and print a few of the fields from each table. If I can get the fields from the first table to map on the report, then hopefully my next step is to add the other tables/fields to my report and then add them to my recordset.
Thank You. The information from this website has been very helpful.




 
Since I posted the question last evening, I have successfully created my report using 'Active Data - Field Definitions Only' and 'CreateFieldDefFile' in my VB app.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top