你这个要去编写ValidateEdit 或者 datacolchanging事件
http://www.foxtable.com/help/topics/0617.htm
http://www.foxtable.com/help/topics/0624.htm