Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a compiled Crystal report from VFP
Message
From
22/02/2001 23:00:04
Walter Meester
HoogkarspelNetherlands
 
 
To
22/02/2001 16:01:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00474146
Message ID:
00478685
Views:
27
David,

>Mark,

You mean, Walter ?

>I am attempting to use either the RDC or CRPE or OCX. A few months ago I had some problems with the OCX - I couldn't get it to register on other machines, via install disks made with the setup wizard. Others have posted with the same problem. In fact I just posted on it again today. But, I have read in the Crystal documentation that they believe the RDC to be a much better choice than the OCX. I haven't seen any specific documentation on how to use it with VFP
>I know the IDE part is only for VB/VBA, but all I want to do is call a crystal report to print or preview at runtime. How do I do it ? I am hoping that the RDC won't have the installation/setup problems that the ocx does ?

I'm aware that there are some specific problems with registering the OCX. AFAIK the trouble is caused by incorrect versions of other windows DLLs. I have not dealt with the OCX because the RDC and the CRPE automation servers provide a much better method to handle crystal reports.

From my experience installing the runtimes for both these com objects is not that difficult: You've got to identify the required DLL files (see the runtime.hlp documentation) and register one or two files (the files to include depends or wich automation server you use, database format (FOX2X, ODBC), export options, etc). You can handle those files from the standard VFP - setup.

For Examples of how to use the CRPE or RDC automation server, search the UT for the last two years on the keywords RDC and CRPE. All the information you need should be there.

Walter,


>TIA
>
>
>
>>Mark,
>>
>>I have not done anything with compiled reports, so I can't help you with the particular problem you have, but your questions raises some..
>>
>>Why do you use compiled reports? AFAIK they're not the preferred way to store reports (anymore). You can export reports with data into a single file and can show the report with both automation servers (RDC and CRPE) and the ActiveX control. With these methods you can suppres the dialog boxes (at least with both the automation servers) very easy.
>>
>>Walter,
>>
>>>I have a compiled Crystal Report in a General Memo field
>>>as an OLE object. Before display the report it displays
>>>a dialog box that ask for output options, formula refesh,
>>>etc. Anyone with VFP/Crystal experience that can tell me
>>>how to get rid of that that diaglog box?
>>>
>>>Any tips appreciated,
>>>
>>>Mark
Previous
Reply
Map
View

Click here to load this message in the networking platform