关于VB实时错误‘3001’,参数类型不正确或不在可以……怎么解决啊,具体代码如下
Private Sub Form_Activate()Combo1.AddItem ("1级")
Combo1.AddItem ("2级")
Combo1.AddItem ("3级")
Combo1.ListIndex = 0
rs1.Open "select * from 商品基础信息表 order by 商品级别,商品编号", cnn, adOpenKeyset, adLockOptimistic
If rs1.RecordCount > 0 Then
For i = 1 To 12
If rs1.Fields(i) <> "" Then Text1(i).text = rs1.Fields(i)
Text1(i).Enabled = False
Next i
End If
rs1.Close
Call tree_change
ComSave.Enabled = False
End Sub