T Tomtop Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-04 #1 在數據模組里,ADOQuery的BeforPost事件中只有TDataset參數,能判斷當前記錄某字段缺少填寫嗎?
Z zhanggeye Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-04 #2 if dateset.fieldbyname('fieldname').isnull begin application.messagebox('fieldname还没有填呢!快快填!','出错啦',0); abort; end;
if dateset.fieldbyname('fieldname').isnull begin application.messagebox('fieldname还没有填呢!快快填!','出错啦',0); abort; end;
Z zhanggeye Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-04 #3 很惊奇这么基本的问题没人答, 仔细一看原来就只有5分. 难怪.........