IsLoaded - ambiguous name error

G

Guest

I often take the template databases and combine different features of 2 or
more. It seems that I often get an error saying IsLoaded is ambiguous - how
can I fix this?

Private Sub Form_Open(Cancel As Integer)
If Not IsLoaded("Attendees") Then
MsgBox "Open the Registration form using the Registration button on
the Attendees form."
Cancel = True
End If
End Sub
 
G

Guest

Hi Rick,

You will receive an ambiguous name error if you have more than one copy of a
procedure in a module. Here is more information on this topic:

You receive an "Ambiguous name detected" error message
while running a procedure in Access 2000 or in Access 2003
http://support.microsoft.com/?id=817411


Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

I often take the template databases and combine different features of 2 or
more. It seems that I often get an error saying IsLoaded is ambiguous - how
can I fix this?

Private Sub Form_Open(Cancel As Integer)
If Not IsLoaded("Attendees") Then
MsgBox "Open the Registration form using the Registration button on
the Attendees form."
Cancel = True
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top