Hi Bill,  

You are correct, Unidata only supports one trigger for both update and delete. 
In order to have multiple triggers you need a wrapper program... I can send you 
the source if you want.

Regards 

Raymond de Bourbon 


-----Original Message-----
From: "Bill Haskett" <[EMAIL PROTECTED]>
To: "[email protected]" <[email protected]>
Sent: 16/03/06 21:03
Subject: [U2] [UD] Trigger (singular)

I'm almost done with triggers (thank goodness I only have a few to create).
It appears UniData only allows one trigger created on a file at a time.  Is
this true?

2 Dtademo (0)-> LIST-TRIGGER APVENDOR
BEFORE UPDATE TRIGGER: U2.NAMES.BRIDGE.U
BEFORE DELETE TRIGGER: U2.NAMES.BRIDGE.D
2 Dtademo (0)-> CREATE-TRIGGER APVENDOR U2.HOMETASTIC.UPD UPDATE
The specified trigger already exists.

The documentation doesn't mention this at all.  So, in order to get multiple
triggers on a file would I have to create a "wrapper" BASIC program that
CALLs each trigger program as a subroutine (or EXECUTEs each trigger
program)?

Any enlightenment would be appreciated.  :-)

Bill Haskett
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to