Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Intraweb with Rbuilder problem

edited September 2010 in General
Hi all,

Using
RB Enterpise 12.01 build 197
Delphi 6 Build 6.240 UpdatePack 2
Intraweb 10.0.7

The problem:

Each one of my clients make their own reports that are printed on the
app (win 32) or by web. In both cases I generate PDF files.
In my win32 app things work ok. In my Intraweb app, not so much.
When I try to generate a report in intraweb with Variable object it
gives a error. Always. In win32 the same report works ok.

I know it must be something silly I'm missing, but I'm stumped.

TIA
Andrew

Comments

  • edited September 2010
    > In my win32 app things work ok. In my Intraweb app, not so much.

    what is the error?

    Ed Dressel
    Team DM
  • edited September 2010
    hi Ed

    Eeps, forgot sorry (translating from portugese):

    Project WebOL.exe raised exception class ECodeError with message 'Not
    possible to compile the program: Variable2OnCalc'. Process Stopped.Use
    Step or Run to continue.

    the code on Variable2 (main body)

    IF LAUDO['PRCDESC'] = 'Externos' THEN
    DBText5.visible := false ELSE
    DBText5.visible := True;

    I have a variable1 too with this code (it's in a subreport)

    If Exames_do_Laudo['IDEMS'] = 1056 then
    Begin
    DBText1.Visible := True;
    DBText3.Visible := True;
    DBText13.Visible := True;
    End else
    Begin
    DBText1.Visible := False;
    DBText3.Visible := False;
    DBText13.Visible := False;
    End;

    so, As these codes work ok on my win32 app, I can only imagine that I'm
    doing something stupid/forgetting something in my Intraweb app.

    TIA
    Andrew
This discussion has been closed.