extract list of forms name from another access project

V

valentinvucea

I wrote an Access Project Application... All I need is to get the list
of forms existing in an external access project (adp).

Any suggestion, please?
 
A

Alex Dybenko

Hi,
you can use CurrentProject.AllForms collection to enumerate all forms

to do so in external application - you have to create new access instance
using CreateObject:

set oAccess=CreateObject("Access.Application")

open your project there and then again use oAccess.CurrentProject.AllForms
to enumerate forms


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

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