Is it possible to loop through system objects?

lilFlip

Registered User.
Local time
Yesterday, 16:54
Joined
Jun 14, 2006
Messages
20
Is it possible to loop through all forms within a project and look at its controls? I was requested to change some object names to a more generic name, but I would like to find all references of the form within the Access application. Is there an easy way to do this?

I know that the MSysObjects contains the listing of all forms, but I don't know how to generically type cast a local variable to the form name listed in the table.

Does this make sense? There has to be a way to do this, but I haven't found anything in searching this forum.

Thanks in advance.

CHuck
 
OK, nevermind I figured out how to do it with Mr. Allen Browne's help....

he has all kinds of wonderful articles and writeups....

BUT, HERE is the next item. If I have code that needs to go into every form, is there a quick way (similar to searching through them) to paste it into the code section of the form? I don't know how to programmatically (in a script) get access to the forms source code.

Thanks,
Chuck
 
Last edited:
OK, figured it out for myself...sorry for all the bother...
 

Users who are viewing this thread

Back
Top Bottom