Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About Crystal Reports From Vfp
Message
 
 
To
19/09/2001 03:14:33
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00558206
Message ID:
00559487
Views:
19
>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
Map
View

Click here to load this message in the networking platform