How can I read the code inside another form.Pls help mee.....

Joined
Apr 25, 2006
Messages
3
Reaction score
0
Hi,
My requirement is , I have to search for a particular function name in VBA code (Module /Form) of Access Application . I am using the following piece of code for that.

dim AccApp As Access.Application
Set AccApp = New Access.Application

AccApp.OpenCurrentDatabase "test.mdb"
AccApp.Modules.count


The last line of code "AccApp.Modules.count" is not returning the actual count even some funtion/procedure is written inside it(Form,module).
So can you pls tell me another method to read the code inside an access form .


With Regards
Niju Jose
 

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