isloaded problem

richard luft

Registered User.
Local time
Yesterday, 20:15
Joined
Jun 4, 2004
Messages
63
I'm in the process (beginning) of trying to update a Db written in Access2 basic into visual basic for access2k. I have the following code:

"If IsLoaded("Form1") Then------", which is not suitable for visual basic. Can someone explain how to change this code to use the 'isloaded' property? Thanks, Richard
 
A brief example, right out of one of my modules...

If CurrentProject.AllForms("frmDictionnaire").IsLoaded Then
DoCmd.Close acForm, "frmDictionnaire"
Else
DoCmd.OpenForm "frmDictionnaire"
End If

Hope This Helps, Good Luck!
 
Perfect! Thanks
 

Users who are viewing this thread

Back
Top Bottom