以文本方式查看主题 - Foxtable(狐表) (http://www.foxtable.com/bbs/index.asp) -- 专家坐堂 (http://www.foxtable.com/bbs/list.asp?boardid=2) ---- TextBox问题 (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=157669) |
-- 作者:BG小白 -- 发布时间:2020/10/25 3:36:00 -- TextBox问题 Dim s As String = e.Form.Controls("title").Text Dim g As New GroupTableBuilder("配货跟踪统计", DataTables("SDPHDMX")) g.Groups.AddDef("DJBH") g.Groups.AddDef("SPDM") g.Totals.AddDef("SL") g.FromServer = True g.Filter = "SPDM = \'& s & \'" g.Build() Dim s As String = e.Form.Controls("title").Text Dim g As New GroupTableBuilder("配货跟踪统计", DataTables("SDPHDMX")) g.Groups.AddDef("DJBH") g.Groups.AddDef("SPDM") g.Totals.AddDef("SL") g.FromServer = True g.Filter = "SPDM = \'H800059 \'" g.Build() 为什么红色代码执行后统计表内没有内容,第二行代码就有内容,绿色这行貌似没有问题啊 [此贴子已经被作者于2020/10/25 3:44:55编辑过]
|
-- 作者:BG小白 -- 发布时间:2020/10/25 3:37:00 -- TextBox内容里面填写的就是H800059 |
-- 作者:有点蓝 -- 发布时间:2020/10/25 20:30:00 -- 先看3遍:http://www.foxtable.com/webhelp/topics/1284.htm g.Filter = "SPDM = \'" & s & "\'"
|