H hhi179 Unregistered / Unconfirmed GUEST, unregistred user! 2010-11-18 #1 如何判断ado某个字段是否被修改?我想在BeforePost写代码,当修改A字段时,I:=2;当修改B字段时,J=37....,如何做?
L levi Unregistered / Unconfirmed GUEST, unregistred user! 2010-11-18 #2 if VarisEmpty(ADOQuery1.Fields['A'].NewValue) or VarisNull(ADOQuery1.Fields['A'].NewValue) then I:=2elseif VarisEmpty(ADOQuery1.Fields['B'].NewValue) or VarisNull(ADOQuery1.Fields['B'].NewValue) thenJ:=37
if VarisEmpty(ADOQuery1.Fields['A'].NewValue) or VarisNull(ADOQuery1.Fields['A'].NewValue) then I:=2elseif VarisEmpty(ADOQuery1.Fields['B'].NewValue) or VarisNull(ADOQuery1.Fields['B'].NewValue) thenJ:=37