General information
Category:
Reports & Report designer
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only