VB中Activate含义
PrivateSubForm_Activate()Frm_FindJiBenYW.Adodc1.RecordSource=strTiaoJianFrm_FindJiBen...
Private Sub Form_Activate()
Frm_FindJiBenYW.Adodc1.RecordSource = strTiaoJian
Frm_FindJiBenYW.Adodc1.Refresh
Frm_FindJiBenYW.DataGrid1.Refresh
Set DataGrid1.DataSource = Frm_FindJiBenYW.Adodc1
End Sub
请问此段程序哪错了?哪位朋友帮我解答一下
但是一执行就显示下面这一行有错误
Frm_FindJiBenYW.Adodc1.Refresh
是不是Adodc用的不对,谢谢! 展开
Frm_FindJiBenYW.Adodc1.RecordSource = strTiaoJian
Frm_FindJiBenYW.Adodc1.Refresh
Frm_FindJiBenYW.DataGrid1.Refresh
Set DataGrid1.DataSource = Frm_FindJiBenYW.Adodc1
End Sub
请问此段程序哪错了?哪位朋友帮我解答一下
但是一执行就显示下面这一行有错误
Frm_FindJiBenYW.Adodc1.Refresh
是不是Adodc用的不对,谢谢! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询