Alter External Access Forms in DAO

J

JD

Does anyone know how to modify the contents (ie. controls,
properties etc) of an external MS Access form, from your
current access database using DAO?
I've been successful at doing this using
OpenCurrentDatabase but I have a need for do this in DAO.


Thanks
 
D

Douglas J. Steele

You can only manipulate forms that are opened in Design mode.

As far as I'm aware, the only way to open a form in design mode is to use
the OpenForm method of the DoCMd object. In order to have this work in the
correct database, you must have a new Application object instantiated, which
means you must use the OpenCurrentDatabase method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top