try..except into RB. How can I Do?
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I Will try.
Gustavo