Private Sub Command1_Click()
Dim c As String
Dim i As Integer
Dim m As String, n As String
Set Rs = Conn.Execute("select * from 销售表 where 工作令='" & Text1(0).Text & "'")
SQL = "Insert Into [销售表](销售人员,工作令,出厂编号,位号,型号,面积,板片数量,板片材质,胶垫数量,胶垫材质,胶垫数量,标准,装箱) Values('" & Combo1(0).Text & "','" & Text1(0).Text & "','" & Text1(1).Text & "','" & Text1(2).Text & "','" & Combo1(1).Text & "','" & Text1(3).Text & "','" & Text1(4).Text & "','" & Text1(5).Text & "','" & Text1(6).Text & "','" & Text1(7).Text & "','" & m & "','" & n & "')"
conn.Execute SQL
这样添加为什么报错了
Rs.Fields(0) = Trim(Combo1(0).Text)
这中添加也不行
这是为什么呢?谢谢
Rs.Close