Hello,
I would like to have one Access program scan a directory and look at the form,
report and module code of any Access databases it finds to search for
keywords.
The best way I have found to do this is with the OpenCurrentDatabase method of
an Access.Application object. However this starts the DB having it do
whatever it would do when it starts up, which may involve refreshing data from
other DB which it cannot find, etc. I would like something like
OpenCurrentDatabase, but which would have the effect of opening the DB with
the shift key pressed.
The only other way I have found that might work would be to use the
containers("forms"), etc. collection from a DAO.Database object. But this
just gets the names of the objects of interest. To get at the module code I
would have to import each form into my DB to look at the code. This does not
seem as clean as I would like it.
Any ideas?
TIA