>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only