Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:单引号、双引号问题

1楼
gaoqr 发表于:2009/2/1 9:27:00
各位新年好!

Dim a As String  = MainTable.Name
Dim b As DataRow  = DataTables("基础设置").Find("[主表] = '" & a & "'")
Dim c As String  = ConfigBar.Items("组合框1").Text.SubString(0,3)
Dim d As WinForm.TreeView = Forms("'" & b("窗口") & "'").Controls("TreeView1")
d.BuildDataTree("定额库","定额 = '" & c & "'","章","节","W")


上面的代码中红色部分有问题,想要打开窗口1中的目录树,出现下面窗口:


图片点击可在新窗口打开查看此主题相关图片如下:窗口.jpg
图片点击可在新窗口打开查看
2楼
狐狸爸爸 发表于:2009/2/1 9:38:00
Forms(b("窗口")).Controls("TreeView1")
3楼
gaoqr 发表于:2009/2/1 9:52:00

谢谢他爸!

共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.