Skip to Content
author's profile photo Former Member
Former Member

Embeddable Crystal Reports Designer Control formula error

We are using the embeddable designer control in Crystal Reports XI with VB6 and are experiencing error 5 (invalid procedure call or argument) when trying to add a new formula field for a sub report (no problems when adding a formula on the main report) . Works fine when run from VB6 but crashes from the built executable. I have upgraded to SP4 but it hasnt helped.

Can anyone help?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 29, 2008 at 08:38 PM

    As it works in the VB designer and not as a stand-alone executable it tells me one of a few things are happening:

    1 - The executable is picking up different dll's then you VB application. You could test this by going to our download area and downloading Modules, an application that will tell you what dlls are currently loaded by an application, then compare the two lists. It could be mis-matched dll's or the runtime is unable to pick up a custom UFL needed by the formula. This is even more likely if this is happening on two different machines.

    2 - VB runtime is handling something different then the design time. I recall seeing this behaviour before, though not specifically your scenerio. If this is the case then there really isn't anything that can be done. In the other scenerio I seem to recall everything worked fine in VB designer, C++ design and runtime, and Delphi design and runtime, however VB runtime failed. Unfortunately I don't know the exact scenerio, or if there was some sort of work-around as this was probably over 5 years ago...

    3 - Not very likely but possibily it could be the formula you are adding. Have you tried a simple formula like "true" just to return true? If a simple formula works perhaps it is your more complex one that has an issue? Like mentioned in #1 perhaps missing a UFL?

    4 - Least likely of all is it could be a printer issue item, try turning on the "no printer" option in the report.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Falk,

      I was wondering if you had got any further with the problem we are facing?

      I haven't received any feedback from you yet.



      Edited by: Boris Cousins on Oct 21, 2008 11:25 AM

      I was under the impression that Crystal Rreports 20008 no longer came with a Crystal Reports Designer Control, or am I mistaken?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.