Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports integration with VFP
Message
De
11/04/2001 18:30:20
Fausto Garcia
Independent Developer
Lima, Pérou
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00494671
Message ID:
00494678
Vues:
22
Hi Jaime,

Open your .RPT file with Crystal Reports and in the File menu check if the "Save data with report" option is selected. If so, unselect it, save the RPT and try again.

HTH,

>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
Solo se que nada se

Fausto J. Garcia Pino - MCSD.NET
.NET, Oracle, Tronador & Fondismo!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform