Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Integrating Crystal Report into VFP
Message
De
27/03/2002 21:34:13
 
 
À
27/03/2002 19:51:18
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00637982
Message ID:
00638242
Vues:
18
>Thank you for your response. I will check it out. One of the questions that pops into my mind is whether I add Crystal Reports as an ActiveX control by going into Options/Add (ActiveX Cotnrols) and then selecting Crystal REport Control and Crystal Report Viewer, or should I be doing something entirely different. Cyrstals documentation appears to refer a lot to VB.

Yes, Crystal Reports is geared more for the C and Visual Basic programmer, especially if you want to use a very fine level of control over the report. What I did was write two classes, one in VFP and the other in VB. The VFP class is form-based and gathers application data and print job specifications, and puts the data into a set of FoxPro 2.x tables. The VB class (if you can call it that) responds to calls from methods in the VFP report class, taking care of any data conversions that are required.

This approach uses CRPE - I found the the ActiveX implementation weak to the point of being unusable for my needs. YMMV, as usual. :)
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform