VB提示过程声明与同名事件或过程的描述不相符 提示句是 Private Sub Command1_Click(index As Integer)
全部代码是PrivateSubCommand1_Click(indexAsInteger)SelectCaseindexCase0Adodc1.RecordSource=...
全部代码是
Private Sub Command1_Click(index As Integer)
Select Case index
Case 0
Adodc1.RecordSource = "select * from 仓库存货对照表"
Case 1
Adodc1.RecordSource = "select * from仓库存货对照表 where" & "存货编码='" & DataCombo1.Text & "'"
End Select
Adodc1.Refresh
End Sub
是哪儿错了呢?帮忙看看呗,急呀。。。谢谢。。。 展开
Private Sub Command1_Click(index As Integer)
Select Case index
Case 0
Adodc1.RecordSource = "select * from 仓库存货对照表"
Case 1
Adodc1.RecordSource = "select * from仓库存货对照表 where" & "存货编码='" & DataCombo1.Text & "'"
End Select
Adodc1.Refresh
End Sub
是哪儿错了呢?帮忙看看呗,急呀。。。谢谢。。。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询