Names of Forms in Access Project

J

Joe Delphi

Hi,

I am converting an Access .mdb file to an Access .adp project. I need
to know a way to get a list of all of the forms in the .adp project. When
it was an .mdb file, I used this command:

VariableX = CurrentDb.Containers("Forms").Documents("frm" & Plan & "_"
& Format(i, "00"))

Now that this is an .adp project, the CurrentDB command no longer works.

Does anyone know the equivalent to CurrentDB that should be used for an
..adp project?\

Any help appreciated.

JD
 
V

Van T. Dinh

Check Access VB Help on the "AllForms" Property of the "CurrentProject"
Object.
 

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