For i = 1 To countt
If rs2.EOF = False Then
csbhstr = rs2.Fields(0).Value
End If
Call liucode(code)
strstr = "INSERT INTO purapp VALUES(" & psbh.Text & "," & code & "," & csbhstr & ","",0,0,0," & jhpz.Text & "," & hbyq.Text & "," & jhjd.Text & "," & jgqk.Text & "," & phd.Text & "," & jfzd.Text & "," & ceyf.Text & "," & fwpz.Text & "," & fwjd.Text & "," & phd2.Text & "," & ceyf2.Text & ",'" & Trim(jlz.Text) & "','" & jlrq.Text & "')"
conn2.Execute (strstr)
Next i
红色的报错 run-time error '424' object required
大侠们研究一下。。TKS
错误提示说的很明显了,对象不存在。这里有十几个文本框,你是从人家那复制的代码吧,看懂了再用。