.NET Framework 版本:4.0.30319.1022
Foxtable 版本:2020.1.19.19
错误所在事件:窗口,原材料加工,Button16,Click
详细错误信息:
Conversion from string "物料基本信息_物料ID" to type 'Integer' is not valid.
Input string was not in a correct format.
Dim ar =Tables("原材料加工_table2").DataTable.Select("原材料加工单号 = '" & Tables("原材料加工_table1").current("原材料加工单号") & "' ")
If ar IsNot Nothing Then
MessageBox.show(1)
For Each br As DataRow In DataTables("大货用量表").Select("用量信息_上级 = '" & Chr(ar("物料基本信息_物料ID")) & "' and 物供号 = '" & ar("物供号") & "'and 物料配色 = '" & ar("物料配色") & "' ")
在Tables("原材料加工_table2")表和Tables("大货用量表")表里“物料基本信息_物料ID”都是字符型,为什么会有这个提示???