Open form cHECK

  • Thread starter Thread starter A. Atzert
  • Start date Start date
A

A. Atzert

Is there a function that will list the open forms in an MS Access program?
 
A. Atzert said:
Is there a function that will list the open forms in an MS Access
program?

Not built-in, but this code will do it:

Dim drm As Form

For Each frm in Forms
Debug.Print frm.Name
Next frm

That'll print the list in the Immediate window. You could modify it to
build a delimited list in a string variable, if you wanted.
 

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

Back
Top