Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
下载信息 [文件大小: 下载次数: ] | |
![]() |
Dim cm As WinForm.ComboBox = e.Form.Controls("ComboBox2")
Dim dr As DataRow
dr = DataTables("表A").Find("型号 = '" & e.Form.Controls("ComboBox1").value & "'and 规格 = '" & cm.text & "'")
If dr IsNot Nothing Then
e.Form.Controls("TextBox1").Value = dr("颜色")
End If
Dim cm As WinForm.ComboBox = e.Form.Controls("ComboBox2")
Dim dr As DataRow
dr = DataTables("表A").Find("型号 = '" & e.Form.Controls("ComboBox1").value & "'and 规格 = '" & cm.text & "'")
If dr IsNot Nothing Then
e.Form.Controls("TextBox1").Value = dr("颜色")
End If
谢谢,问题解决了,需要条件满足才能自动输入的