Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports integration with VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Crystal Reports integration with VFP
Divers
Thread ID:
00494671
Message ID:
00494671
Vues:
68
Hi
I'm trying to integrate CR in my app.
I did the following: created a free table , let's say c:\test.dbf, designed a report ( d:\myapp\report.rpt ) after creating a data source for the free table. In my form, i added and ole control and chosed 'Crystal Report Control'. In the controls properties page, i just set the ReportFileName property to d:\myapp\report.rpt.
In a command button, i do all the query stuff, and create the c:\test table.
Then i issue the command: ThisForm.OleControl1.PrintReport(), and it prints a very beautiful report.
The only problem is that no matter what i do to the test.dbf file ( i.e no matter what query result ), the report will always show the same data, and that's the data that was in there when i designed the rpt file in the first place. I guess it has something to do with the datasource, but i couldn't find any property to play with.
Besides, i saw everywhere that RDC was the way to go, but i see this is an OCX control. How can i implement the RDC then?

Thanks
Why do programs stop working correctly as soon as you leave the Fox?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform