How can you check if a form is currently loaded in VB6 -and- in MS Access 97?
Thanks,
Thai
Printable View
How can you check if a form is currently loaded in VB6 -and- in MS Access 97?
Thanks,
Thai
you can simply loop through the forms collection like:
Dim f as Form
For Each f in Forms
Debug.Print f.Name
Next
and check if your form is among the items
regards
In VB it's easy. Just check the forms collection. If you don't know how to do that, either look into Help or do a search in this forum and you'll see many examples in previous posts.