RB_API_UpdateRecord does not TRIGGER (3.6 beta)

Karl Grob kgrob at mus.ch
Fri May 23 07:23:14 CDT 2008


Hi all

I don't know if this is new, but VTable.UpdateRecord does not trigger.  
VStudio does with the same Trigger and SQL-Update works too.
VTable.AddRecord works in API.

Triggers:

does not work in API:
CREATE TRIGGER Rectbl_SeitenformateGeaendert BEFORE UPDATE ON  
tbl_Seitenformate FOR EACH ROW BEGIN  If NEW.fld_RecAeDat = 0 THEN  
NEW.fld_RecAeDat = NOW();END IF END

works:
ROW BEGIN  If NEW.fld_RecAeDat = 0 THEN NEW.fld_RecAeDat = NOW();END  
IF END

Best regards

Karl Grob


More information about the Valentina-beta mailing list