I get this error when I run code that tried to requery another form if it is active. If the form isn't loaded, there's no problem with the code.
I get "Microsoft Access doesn't allow you to use this method in the current view."
Here's the code I have (Access 2010):
If CurrentProject.AllForms("frmClientInfo").IsLoaded = True Then
Forms!frmClientInfo!cboPrimaryContact.Requery
Forms!frmClientInfo!cboSecondaryContact.Requery
End If
Can't find anything just Googling and such.
Thanks in advance.
I get "Microsoft Access doesn't allow you to use this method in the current view."
Here's the code I have (Access 2010):
If CurrentProject.AllForms("frmClientInfo").IsLoaded = True Then
Forms!frmClientInfo!cboPrimaryContact.Requery
Forms!frmClientInfo!cboSecondaryContact.Requery
End If
Can't find anything just Googling and such.
Thanks in advance.