<quote who='Susan Joslyn' date='Monday 01 December 2008'>
> Hi everyone,
>
>
>
> I have the triggers working - yay! Thanks Manu! - but now I'm to the next
> step, and of course stumbling again!  My program sets a flag when it wants
> to disallow the write that called the trigger.  The manual seems to suggest
> that I could use SetDiagnostic to fail this . but I'm not even getting my
> program to compile and can't find further information on the syntax of that
> command.  Anyone know how to tell the trigger to refuse the write?

I can't comment for Universe, but in Unidata you set EXECSTAT to one of three 
values

0 = don't write the record
1 = write record, but don't allow trigger to have altered the contents
2 = write record and allow trigger to possibly have altered contents

-- 
Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

"Where I'm from, we believe all sorts of
    things that aren't true. We call it 'history'."
                       The Wizard, Wicked
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to