Rss & SiteMap

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

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

标题:同一个表两个字段使用下拉窗口的问题

1楼
scofields 发表于:2024/5/23 0:45:00
同一个表两个字段使用下拉窗口后,发现不能实现预期效果,如何修改?
Dim tbl As Table = Tables("内部单位_Table1")
If tbl.Current IsNot Nothing Then
    If Tables("T_采购单").Cols.Contains("采购单位") Then
        Tables("T_采购单").Current("采购单位") = tbl.Current("内部客户名")
    ElseIf Tables("T_采购单").Cols.Contains("合作单位") Then
        Tables("T_采购单").Current("合作单位") = tbl.Current("内部客户名")
    End If
End If
Forms("内部单位").Close()
2楼
有点蓝 发表于:2024/5/23 8:37:00
http://www.foxtable.com/webhelp/topics/2704.htm

If tbl.Current IsNot Nothing Then
    Tables("T_采购单").Current(e.form.dropcol.name) = tbl.Current("内部客户名")
End If
共2 条记录, 每页显示 10 条, 页签: [1]

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

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