Error IsLoaded [Ambiguous name detected: IsLoaded]

J

JK

Yesterday I added a new login feature to my database. I'm using an example I
found online from Phil Mackison. The name of the example is
Audit_Blank_Mod.mdb.

Until I added the new tables, forms, and modules, I didn't receive the error
mentioned in the subject of this post.

This is the code that returns the error when I compile the db.

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

I'm no programmer - that's for sure, but doesn't this error appear when code
(or a function) is duplicated or, the name of the function cannot be
recognized?

Please help.... :(...
 
J

JK

The function was not defined more than once. However, I used your suggestion
by putting the IsLoaded at the end of the statement and that worked! What's
going on here, why is the IsLoaded function not working the way it did only a
couple of day's ago? Any idea?

As I complie my db, I'm finding this error is appearing everywhere the
IsLoaded appears... I'm replacing all of my code with your suggestion. So far
so good.

And thank you very much for the help you provided. You saved me a good deal
of time trying to figure this out.
 
S

Stuart McCall

I'm an idiot.

Not so: "No man really becomes a fool until he stops asking questions." -
Charles Steinmetz
 

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