老师,我用自定义录入界面之三方法录入。
表A、表B共用一个下拉窗口
通过表A打开下拉窗口时候,Tables("窗口1_Table1")显示第一列、第二列。
通过表B打开下拉窗口时候,Tables("窗口1_Table1")显示第三列、第四列。
下拉窗口DropDownOpening事件
if e.Form.DropTable.Name = “表A”
Tables("窗口1_Table1")显示第一列、第二列的代码
else
Tables("窗口1_Table1")显示第三列、第四列的代码。
end if
If e.Form.DropTable.Name = "表A" Then
If Tables("表A").Current("第一列") = "备料" And Tables("表A").Current("第二列") = "板料"Then 如何添加附加条件:对应表的当前行第一列数据是“备料”........
Tables("窗口1_Table1").SetColVisibleWidth("第一列|100|第二列|100")
End If
End If
http://www.foxtable.com/webhelp/topics/2704.htmif e.Form.DropTable.Current("第一列") = "备料" and ..........