数据校验
在数据校验的时候如何屏蔽掉系统的错误信息?
还有在用到PB中的检验规则定义的时候,好像不起作用?那位高手帮帮忙。多谢了。
问题点数:10、回复次数:1Top
1 楼sangis(飞翔的树)回复于 2005-11-01 18:23:21 得分 10
ItemError event (DataWindows)
Occurs when a field has been modified, the field loses focus (for example, the user presses enter, tab, or an arrow key or clicks the mouse on another field in the DataWindow), and the data in the field does not pass the validation rules for its column. ItemError can also occur when a value imported into a DataWindow control or DataStore does not pass the validation rules for its column.
Return value
Set the return code to affect the outcome of the event:
0 (Default) Reject the data value and show an error message box
1 Reject the data value with no message box
2 Accept the data value
3 Reject the data value but allow focus to changeTop




