Y
y2ky2k
Unregistered / Unconfirmed
GUEST, unregistred user!
有一触发器,AFTERUPDATE后触发,在IB里没有问题...
OLD_AMOUNT OLD_MOUNT KS_AMOUNT KS_MOUNT NEW_AMOUNT NEW_MOUNT
10 0 2 0 12 0
NEW_AMOUNT=OLD.OLD_AMOUNT+NEW.KS_AMOUNT;
但在程序里,一修改KS_AMOUNT的值,就变为:
OLD_AMOUNT OLD_MOUNT KS_AMOUNT KS_MOUNT NEW_AMOUNT NEW_MOUNT 0 2 0 12 0
NULL NULL 2 0 14 0
谁知是什么问题呢???
OLD_AMOUNT OLD_MOUNT KS_AMOUNT KS_MOUNT NEW_AMOUNT NEW_MOUNT
10 0 2 0 12 0
NEW_AMOUNT=OLD.OLD_AMOUNT+NEW.KS_AMOUNT;
但在程序里,一修改KS_AMOUNT的值,就变为:
OLD_AMOUNT OLD_MOUNT KS_AMOUNT KS_MOUNT NEW_AMOUNT NEW_MOUNT 0 2 0 12 0
NULL NULL 2 0 14 0
谁知是什么问题呢???