Hello
I'm trying to set the GridX and GridY properties of all my forms to 24.
***** Here is a potential Solution I've come up with but don't like it because I would have to open all the forms****
Other related question
a) Why doesn't the Database object (CurrentDB) contain FormsDef, ReportsDef etc...?
b) Is there a complete Diagram of the Access Object Model. I don't see the relationship between Application Object and the DBEngine Object (DAO).
I believe Application supersedes DBEngine because currentDB is a method of the Application object right?
I'm trying to set the GridX and GridY properties of all my forms to 24.
***** Here is a potential Solution I've come up with but don't like it because I would have to open all the forms****
Code:
Start to Iterate through CurrentProject.AllForms collection
Get the 'name property' of the AccessObject
Open the Form using the 'name property' and the Docmd.openform
Use Forms collection to finally modify the GridX and GridY.
End Iteration
Other related question
a) Why doesn't the Database object (CurrentDB) contain FormsDef, ReportsDef etc...?
b) Is there a complete Diagram of the Access Object Model. I don't see the relationship between Application Object and the DBEngine Object (DAO).
I believe Application supersedes DBEngine because currentDB is a method of the Application object right?