Here is the code for the label/button:
Private Sub lblRefresh_Click()
On Error GoTo UpdateErr
Adodc1.Recordset.Requery
Adodc1.Refresh
Adodc2.Recordset.Requery
Adodc2.Refresh
Adodc3.Recordset.Requery
Adodc3.Refresh
Exit Sub
UpdateErr:
MsgBox Err.Description
End Sub
Only Adodc3 is refreshed when the button is clicked. Can anyone tell me if there is a problem with what I'm doing here?
Also, the qrys the ADO controls are using are from related tables in my Access database. Like qry1 and qry2 divided by each other make qry3. Qry1, qry2 and qry3 are all displayed on the form. Could it be because the qrys use each other to get the result?
Any help would be greatly appreciated.
Thanks,
Wyatt