Re: No trigger exception message
- From: "giorgio rancati" <giorgio_No_Spalmer_rancati@xxxxxxxxxx>
- Date: Mon, 5 Sep 2005 09:19:06 +0200
Hi Hansjörg,
I do so
----
....
....
RAISERROR ('Your Error Message ', 16, 1)
ROLLBACK TRANSACTION
....
----
the trigger messages are handled.
(Access2002 sp2, Msde2000 sp4)
Bye
Giorgio
"Hansjörg Zimmermann" <hjzimmermann@xxxxxxx> ha scritto nel messaggio
news:uAl6$5EsFHA.3796@xxxxxxxxxxxxxxxxxxxxxxx
> Hi, i have a problem with the handling of error messages produced by a
> trigger. I have defined a trigger which contains business logic and checks
> some rules before storing the data. In case of a error i use the
RAISERROR()
> command.
>
> When i use MS-Access on one PC to inserted records in the table the error
> message issued by the trigger appears, which is the expected result.
>
> On a other installation MS-Access does not show the message, it just says
> nothing and does not allow me to store the record. Because it does not
show
> the error message of the trigger, the user has no idea what the reason is.
>
> Does anyone know, which setting allows to specify how trigger messages are
> handled ?
>
> Thanks for your reply
>
>
.
- Follow-Ups:
- Re: No trigger exception message
- From: Hansjörg Zimmermann
- Re: No trigger exception message
- References:
- No trigger exception message
- From: Hansjörg Zimmermann
- No trigger exception message
- Prev by Date: Re: No trigger exception message
- Next by Date: Re: No trigger exception message
- Previous by thread: Re: No trigger exception message
- Next by thread: Re: No trigger exception message
- Index(es):
Relevant Pages
|