Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement