以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 表关联问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=134089) |
-- 作者:15666282205 -- 发布时间:2019/4/27 8:18:00 -- 表关联问题 例如:表A:部件总成编码为01;表B:零件编码为0101、0102;能否实现表A为父表,表B为子表,关键字为01进行关联呢?实现的功能是:点击部件总成,自动显示组成总成的零件。请老师指教。 |
-- 作者:有点蓝 -- 发布时间:2019/4/27 9:33:00 -- 可以使用模拟关联:http://www.foxtable.com/webhelp/scr/2222.htm With Tables("产品")
If .Current Is Nothing Then t.Filter = "False" Else t.Filter = "零件编码 like \'" & .Current("总成编码") & "%\'" End IF End With |