Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports Problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00121421
Message ID:
00121426
Vues:
13
>I'm trying to use Crystal Reports as ActiveX and not being very successful at it. I was hoping, perhaps naively, that if one designed and saved forms in Crystal's report designer, then all that had to be done to implement the ActiveX function is to drop it on a form and set a couple of properties (report to use, data to use, destination, etc.). Apparently it ain't so.
>
>Or if it is so, I haven't figured out which properties to set because I keep getting undefined or illegal settings for the ole object.
>
>Someone said, not so long ago, to use the Automation server rather than ActiveX; I looked at that possibility but I think I know even less about that and my timeline is very short.
>
>All I want to do is to create and save a report to file in rtf, which Crystal says it does.
>
>So, if anyone has been successful at implementing Crystal Reports as ActiveX I would delighted and extremely grateful to hear about it and receive some advice.
>
>Thansk
>
>Reg

The main trick to getting the activeX control to work on a fox form is getting a window handle (called an HWND) to the foxpro form. Unlike VB, VFP forms do not have an HWND property. To get around this, drop the FoxHWND activeX control onto a form with the crystal object. You can then stretch the HWND control to the size of the form, and point the Crystal ActiveX controls HWND to the HWND control.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform