"localhost:/firebird/data/ILICHEVSK2.FDB". Триггеры Previous topic Chapter index Next topic

FORMSETUP_BI

 

Описание

(Нет описания для триггера FORMSETUP_BI)

 

Определение

CREATE TRIGGER FORMSETUP_BI FOR FORMSETUP
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.FORMSETUPID IS NULL) THEN
    NEW.FORMSETUPID = GEN_ID(FORMSETUP_GEN_ID,1);
  if (new.SortIndex is null) then new.SortIndex = NEW.FORMSETUPID;
END

 

     Previous topic Chapter index Next topic