TextBox1有绑定表吗?怎么绑定的?
Forms("订单窗口").Controls("TextBox1").BindingField = "订单窗口_Table1.客户"
赋值,不执行
Dim t1 As String = Forms("销售窗口").Controls("TextBox2").BindingField = "销售窗口_Table1.客户"
销售窗口_Table1,在销售窗口用SQ-L: Selec-t *From tb as a
Dim t2 As String = Forms("订单窗口").Controls("TextBox1").BindingField = "订单窗口_Table1.客户"
订单窗口_Table1, 在订单窗口用SQ-L: Selec-t *From tb1 as a Inner Join tb2 as b On (a.单号 = b.单号)
t1 = t2
[此贴子已经被作者于2024/2/8 12:54:49编辑过]