以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 此值违反了此列的 MaxLength 限制 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=183354) |
-- 作者:13039226343 -- 发布时间:2022/11/2 16:20:00 -- 此值违反了此列的 MaxLength 限制 Select Case e.DataCol.Name Case "第一列" If e.NewValue Is Nothing Then e.DataRow("第二列") = Nothing e.DataRow("第三列") = Nothing Else e.DataRow("第二列") = ReadBirthDay(e.NewValue) e.DataRow("第三列") = ReadBirthDay(e.NewValue) End If End Select
|
-- 作者:有点蓝 -- 发布时间:2022/11/2 16:30:00 -- 把列的字符长度改大一点:http://www.foxtable.com/webhelp/topics/0036.htm |
-- 作者:13039226343 -- 发布时间:2022/11/3 10:52:00 -- 次段代码为什么输入身份证号码代X会取消输入呢?? Select Case e.DataCol.Name Case "身份证号码" If e.NewValue IsNot Nothing Then If ValidPIN(e.NewValue) = False Then e.Cancel = True End If End If End Select
|
-- 作者:有点蓝 -- 发布时间:2022/11/3 11:02:00 -- "身份证号码"必须是字符列。 |
-- 作者:13039226343 -- 发布时间:2022/11/3 11:13:00 -- 是字符列的。列名:身份证号码 类型:字符型 长度:18 |
-- 作者:有点蓝 -- 发布时间:2022/11/3 11:16:00 -- 那就是输入的身份证号不对 |
-- 作者:13039226343 -- 发布时间:2022/11/3 11:23:00 -- 确实也不应该啊 22088219890910422x
|
-- 作者:有点蓝 -- 发布时间:2022/11/3 11:27:00 -- 要输入大写的X |
-- 作者:13039226343 -- 发布时间:2022/11/3 11:31:00 -- 果然是这个原因 |