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

try..except into RB. How can I Do?

edited February 2005 in General
Hi friends,

Necessary to know as to implement a treatment of errors that will be used in
the events of the REPORTBUILDER where will have codes.

I am having problems when trying to print the content of a field FMTMEMO
where the user inserted enters the lines of the text, a drawing
(organization chart of the Ms-word).
The REPORT stops during prepare the pages (PREVIEW) without emitting error
messages or indicating the reason for having stopped.

In the STATUSBAR of the PREVIEW, instead of appearing PAGE 1 OF 9 (for
example), shows only PAGE 7. The eighth and nineth page is not drawn and
would be the subsequentes pages to the mentioned text above.

I believe that the error occurs for not obtaining to carry through the
STRECH of component PPDBRICHTEXT.

See the code below:
...............
try

except
on e:exception do
ppreport.RaiseException(e);
end;
...............

Thank you

Gustavo
RB 6.02 - D5

Comments

  • edited February 2005
    Hi Gustavo,

    If a problem is occuring where we created an exception, you would already be
    seeing it. If not, then we simply did not create a message for the error
    you are experiencing. I am a bit unclear about what is actually happening
    here. You are using a fairly old version of ReportBuilder. You may try
    downloading the trial version of RB 7.04 and testing with that. If this
    does not help please create a simple example that I can run on my machine
    that demonstrates teh behavior you describe and send it to
    support@digital-metaphors.com in .zip format.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2005
    Thank you.

    I Will try.

    Gustavo
This discussion has been closed.