friend,come!

river 2000-04-06 12:21:00
Sorry,I'm useing a traditional Chinese system,so I write my question in Engish.
First,I really thank a friend named billie for his answer,however I still can't solve my question.The help text for TField.CustomConstraint says a
sentence x>0 and x<10 ,I don't understand what the 'x' refer to and how to use the property in program. Who can tell me? By the way,I'm interested in programming and using Delphi now.You can contact me.
E-mail:airone@netease.com
icq:69920630
...全文
110 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Lin 2000-04-06
  • 打赏
  • 举报
回复
CustomConstraint属性是一个合法的SQL条件表达式,用来限制该Field的取值范围。这里的x是一个泛指,并非特指某个变量或者表达式。在设置该属性时,最好再设置CpnstraintErrorMessage,当用户输入越界时用来提示用户。

5,386

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧