Information générale
Catégorie:
Crystal Reports
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement