Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I reference a form's "Description" property?

Status
Not open for further replies.

dpark48

Programmer
Feb 18, 2009
3
US
I would like to use VBA to access the form descriptions for an Access 2003 database; however, I cannot locate a "description" property for a form object. How does one set a reference to the form description property?

Thank you.
 
How about:

Code:
For Each frm In CurrentProject.AllForms
    On Error Resume Next 'property not found
    Debug.Print CurrentDb.Containers("Forms").Documents(frm.Name).Properties("Description")
Next

 
The Containers collection! Yes, that works. Thanks, David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top