Re: Forms error_text exception
- From: "Mark C. Stock" <mcstockX@Xenquery .com>
- Date: Tue, 17 Jan 2006 08:23:25 -0500
<pwu@xxxxxxxxxxxxx> wrote in message
news:1137477415.918071.238940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'm using Oracle Forms 6i.
>
> I want to write a message to a table log whenever there is an error in
> any trigger's PL/SQL code.
>
> I have a forms trigger WHEN-NEW-FORM-INSTANCE which has PL/SQL code:
>
> declare
> .....
> begin
> exception
> when others then
> insert into log values (ERROR_TEXT||' -
> WHEN-NEW-FORM-INSTANCE);
> end;
>
> The code in the WHEN-NEW-FORM-INSTANCE trigger generates an error.
what is the error?
>
> I get a blank error-text on table log despite the fact that the Forms
> reference manual says that the function ERROR_TEXT can be called at
> any time.
the problem may be that you've got it embedded in the INSERT statement; you
may need to assign it's value to a variable and use the variable in the
INSERT statement;
++ mcs
.
- References:
- Forms error_text exception
- From: pwu
- Forms error_text exception
- Prev by Date: Re: crystal reports
- Next by Date: Re: crystal reports
- Previous by thread: Forms error_text exception
- Next by thread: Re: Forms error_text exception
- Index(es):
Relevant Pages
|
|