Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal reports with data definition (TTX) files
Message
 
 
To
29/08/2002 04:11:32
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00694821
Message ID:
00697472
Views:
40
>How can I pass an ADO recordset from VFP (version 7) to crystal report (version 8.5). I am using data definition (TTX) file with crysal report.

Try this:
oCReport.Database.Tables(1).SetDataSource(oMyRecordSet)

oCReport is your Crystal Report, and oMyRecordSet is your ADO recordset. If you have multiple tables in your report (which ISN'T a good idea with TTX files, according to Crystal's KB), you can access each table in the tables collection. And from what I can tell, the order they are listed in the Crystal tree is the order you can reference them in the tables collection.

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform