voxinforma
MIS
I'm trying to write a trigger so that when field1 in table1 is created or updated with a specific value (let's say the string "approved"
, the value of field2 (an ObjectID) in the corresponding row from table1 will be inserted into table2.
If field2 already exists in table2, I don't want to insert it twice (and it is at this that I have been failing).
When field1 is modified so that it contains a string other than "approved", I need to delete field2 from table2.
Any help would be insanely appreciated.
--voxi
If field2 already exists in table2, I don't want to insert it twice (and it is at this that I have been failing).
When field1 is modified so that it contains a string other than "approved", I need to delete field2 from table2.
Any help would be insanely appreciated.
--voxi