我这样写为啥不行呢,还是原来的表的选择的 , 会不会是 TextBox 不能 选 绑定到表的那个字段
Dim tabn As String = "tabC|" ’‘’‘tabcontrol控件每页前缀
Dim tn As String = "table|" ’‘每个tabl页面里面添加 使用 e.Form.CreateTable(name , datatable , True ) 添加的时候name的前缀
Dim tabc As WinForm.TabControl = Forms("业务流程审核List").Controls("tabC") 、、、、tab控件
Dim tabS As String = tabc.SelectedPage.Name ’‘’‘当前选择的tab控件页面
Dim tnow As String = tabS.Replace(tabn,tn) ’‘’替换得到当前选择的tab页面( e.Form.CreateTable(name , datatable , True ) ) 得到对应的table的name
Dim t As WinForm.Table = Forms("业务流程审核List").Controls(tnow) ‘’‘’‘通过table的name得到当前table控件
Dim dr As Row = Tables(t.Table.Name).Current 、、、点击鼠标对应的当前table的行
’‘’‘’‘’‘’
上面绑定的是查询表的视图_原始凭证,,但是 点击打开 当前表当前行 是 原始凭证table里面的,但是通过点击弹出来的 dr对象显示没问题,
所以就想问问 是不是上面那个图 ,textbox绑定 这么用是不行的
[此贴子已经被作者于2020/3/11 14:22:08编辑过]