Forms List

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devonknows
    New Member
    • Nov 2006
    • 137

    Forms List

    Is there anyway to list all the forms that in the application itself?
    I know if you do
    Code:
    Dim oFrm as Form
    For Each oFrm in Forms
    	msgbox oFrm.Name
    Next oFrm
    It returns a list of all the open forms, but what i need is a list of all available forms in the application, I was just wondering if that was possible at all.

    Kind Regards
    Devon
  • Bum
    New Member
    • Jan 2008
    • 19

    #2
    You could keep count with a global variable.

    Comment

    • devonknows
      New Member
      • Nov 2006
      • 137

      #3
      Originally posted by Bum
      You could keep count with a global variable.
      its not that i need to keep count.
      i need to find a form with a certain name. and if i find it, then Show the form, but as stated before the each frm in Forms. only loops through the list of open forms but its the forms that arnt loaded i need loop through

      but without creating a case select with every form name in as this is unpractical for distribution of my control.

      Kind Regards
      Devon

      Comment

      Working...