I have the following snippets of code on a child form of MDIform:
If dbAlreadyOpen(frmMain.mp3DB) Then
MsgBox "A Database is Already open!", vbExclamation, "Already Open..."
Exit Sub
End If
Everytime the above code executes it causes a run time error 426 only one MDI form allowed....and it points to the frmmain.mp3db reference as the culprit. I need this reference in order to access the public mp3db variable.
Any ideas on what is going on?
Troy Williams B.Eng.
fenris@hotmail.com
If dbAlreadyOpen(frmMain.mp3DB) Then
MsgBox "A Database is Already open!", vbExclamation, "Already Open..."
Exit Sub
End If
Everytime the above code executes it causes a run time error 426 only one MDI form allowed....and it points to the frmmain.mp3db reference as the culprit. I need this reference in order to access the public mp3db variable.
Any ideas on what is going on?
Troy Williams B.Eng.
fenris@hotmail.com