Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2006

Tip: Looking for answers? Try searching our database.

Printing a list of controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Pockmire - 08 Dec 2006 14:48 GMT
Can you provide code to print a list of controls in a specified table or
form? (Debug.Print)
Marshall Barton - 08 Dec 2006 19:13 GMT
>Can you provide code to print a list of controls in a specified table or
>form? (Debug.Print)

Table don't really have controls.  For an **open** form or
report:

For each ctl In Reports("name of form/report").Controls
    Debug.Print ctl.Name
Next ctl

Signature

Marsh
MVP [MS Access]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.