CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  PowerBuilder >  基础类

数据校验

楼主aming1314(阿明)2005-11-01 17:44:22 在 PowerBuilder / 基础类 提问

在数据校验的时候如何屏蔽掉系统的错误信息?  
   
  还有在用到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

相关问题

  • 数据库输入校验
  • 求助DataWindow数据校验
  • 数据传输与校验的问题?
  • 数据窗口校验问题
  • 数据校验和Grid问题
  • 关于数据校验的问题
  • 数据校验怎么实现的啊?
  • 网络传输中的数据包校验问题——如何实现“和校验”???
  • 网络传输中的数据包校验问题——如何实现“和校验”???
  • 数据窗口数据校验小问题

关键词

  • 数据
  • itemerror
  • 数据校验
  • datawindow
  • reject
  • occur
  • focus
  • field
  • validation rules
  • 时候

得分解答快速导航

  • 帖主:aming1314
  • sangis

相关链接

  • PowerBuilder类图书
  • PowerBuilder类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo