Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About Crystal Reports From Vfp
Message
 
 
À
19/09/2001 03:14:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00558206
Message ID:
00559487
Vues:
18
>Dear All,
>how can i print a variable in Seagate Crystal 7.0 which is initialized in Vfp.
>Please let me know that Is Seagate Crystal frienly with vfp or not.
>if yes then from where i can get note on Vfp with Crystal.
>
>Thanku in advance.

Yes, you can do this with VFP7. In fact, we showed just how in last week's San Diego Devcon keynote. Essentially, you can use the new EventHandler() function to bind a VFP object that IMPLEMENTs an Xtal event interface with the Xtal reporting object at runtime. Below is mini example of a class showing how you might do this. Hope this helps...Randy

-------------

DEFINE CLASS CREmpEvents AS session
IMPLEMENTS ISectionEvent IN CrystalRuntime.Application

PROCEDURE ISectionEvent_format(pFormattingInfo AS VARIANT) AS VOID;

* Get value from detail band in report
lcSsnum = THIS.oCrForm.oSection.ReportObjects(4).Value

* Set field in report
THIS.oCrForm.oSection.ReportObjects(5).SetText(lcMyVar)

ENDPROC

ENDDEFINE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform