Foxtable(狐表)用户栏目专家坐堂 → 目录录入问题


  共有1284人关注过本帖平板打印复制链接

主题:目录录入问题

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107896 积分:548849 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/10/18 10:39:00 [只看该作者]

Dim s As String
Dim
 trv As WinForm.TreeView = e.Form.Controls("TreeView1")
For
 Each nd As WinForm.TreeNode In trv.AllNodes
    If nd.level = 1 andalso nd.Checked Then
e.Form.DropDownBox.Value = nd.Text
for each a as WinForm.TreeNode In nd.AllNodes
    If nd.Checked Then
        
s = s & "," & a.Text
    End 
If
next
       tables("表A").current("第二列") =
 s
exit for
    End 
If

Next

e
.Form.DropDownBox.CloseDropdown

 回到顶部
总数 14 1 2 下一页