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 / June 2006

Tip: Looking for answers? Try searching our database.

Get List of Control/Properties of Form from another Access DB

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Grant - 07 Jun 2006 08:44 GMT
Hi,

I am programming in VBA and using DAO to connect to another Access DB
(working fine).

What I am trying to do is get a list of the Controls and the Properties for
those controls for a Form on the other Access DB.

I can get a list of the Forms via the SysObjects, but can't seem to find a
way to access the Controls/Properties.

I have approx 850 Access Databases to check through (Lab Test with 850
students) so want to check their DB and see if they have created the Form
(ok), then check to see what Controls they have and what they have set for
the Properties.

I really want to use DAO (not ADO) but anything will do at this stage.

Thanks in advance.

Kind Regards,

Grant.
Alex Dybenko - 07 Jun 2006 11:48 GMT
hi,
using DAO you can get a list of forms, but in order to get
controls/properties - you have to use automation - open new Access instance
using CreateObject(), open target DB there, open certain form there and then
loop through its controls

Signature

Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

> Hi,
>
[quoted text clipped - 20 lines]
>
> Grant.
 
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.