Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal reports with data definition (TTX) files
Message
 
À
29/08/2002 04:11:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00694821
Message ID:
00697472
Vues:
39
>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
Fil
Voir

Click here to load this message in the networking platform