以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- alue不是boolean成员,错误代码:.Value = "张三" (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=188053) |
-- 作者:xuzihang -- 发布时间:2023/8/29 22:36:00 -- alue不是boolean成员,错误代码:.Value = "张三" value不是boolean成员,错误代码:.Value = "张三" ,老师这段我没明白怎么回事,我看教程了,写的也没有问题,问什么报错,这样的还可以怎么写更好 Dim dr1 As DataRow = DataTables("xinxi").SQLFind("openid =\'" & Openid & "\'") With wb.AddInputGroup("form1", "ipg1", "客户资料") .AddInput("客户名", "姓名", "Text").value = format(dr1("客户名")) \'前一个"姓名"是ID,后一个"姓名"是标题 With .AddInput("nickname", "昵称", "Text").value = format(dr1("nickname")) .Value = "张三" .Readonly = True End With With .AddInput("openid", "openid", "Text").value = dr1("openid") .Readonly = True End With .AddInput("电话", "电话", "number").value = format(dr1("电话")) |
-- 作者:xuzihang -- 发布时间:2023/8/29 22:48:00 -- 这个是服务端报错 未找到类型“Boolean”的公共成员“Value”。我这样改了,还是不行 With wb.AddInputGroup("form1", "ipg1", "客户资料") .AddInput("客户名", "姓名", "Text").value = format(dr1("客户名")) \'前一个"姓名"是ID,后一个"姓名"是标题 With .AddInput("nickname", "昵称", "Text").value = dr1("nickname") .Value = dr1("nickname") .Readonly = True End With With .AddInput("openid", "openid", "Text").value = dr1("openid") .Readonly = True End With .AddInput("电话", "电话", "number").value = format(dr1("电话")) |
-- 作者:有点蓝 -- 发布时间:2023/8/29 23:07:00 -- 1、去掉所有的format,没有任何用处 With .AddInput("nickname", "昵称", "Text") .Value = dr1("nickname") .Readonly = True End With |
-- 作者:xuzihang -- 发布时间:2023/8/29 23:26:00 -- 谢谢蓝老师 |