Dim kh As WinForm.ComboBox = e.Form.Controls("ComboBox1")
Dim ht As WinForm.ComboBox = e.Form.Controls("ComboBox3")
Dim ks As WinForm.ComboBox = e.Form.Controls("ComboBox2")
Dim dd As WinForm.ComboBox = e.Form.Controls("ComboBox4")
Dim rq As WinForm.ComboBox = e.Form.Controls("ComboBox5")
If dd.text = ""
If ks.Text = ""
If kh.Text = ""
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","样衣款号 = '" & ht.Text & "'","填报日期")
End If
Else
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","客户 = '" & kh.Text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","样衣款号 = '" & ht.Text & "'and 客户 = '" & kh.Text & "' ","填报日期")
End If
End If
Else
If kh.Text = ""
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","款号 = '" & ks.Text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","样衣款号 = '" & ht.Text & "' and 款号 = '" & ks.Text & "'","填报日期")
End If
Else
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","客户 = '" & kh.Text & "'and 款号 = '" & ks.Text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","样衣款号 = '" & ht.Text & "'and 客户 = '" & kh.Text & "'and 款号 = '" & ks.Text & "' ","填报日期")
End If
End If
End If
Else
If ks.Text = ""
If kh.Text = ""
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 样衣款号 = '" & ht.Text & "'","填报日期")
End If
Else
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 客户 = '" & kh.Text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 样衣款号 = '" & ht.Text & "'and 客户 = '" & kh.Text & "' ","填报日期")
End If
End If
Else
If kh.Text = ""
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 款号 = '" & ks.Text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 样衣款号 = '" & ht.Text & "' and 款号 = '" & ks.Text & "'","填报日期")
End If
Else
If ht.Text = ""
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 客户 = '" & kh.Text & "'and 款号 = '" & ks.Text & "'","填报日期")
Else
rq.ComboList = DataTables("核价系统主表_Table1").GetComboListString("填报日期","技术担当 = '" & dd.text & "' and 样衣款号 = '" & ht.Text & "'and 客户 = '" & kh.Text & "'and 款号 = '" & ks.Text & "' ","填报日期")
End If
End If
End If
End If
此主题相关图片如下:01.jpg
如何去掉后面的0?