Hi, I have an interesting need:
after merging dozens of databases on a large company IT environment,
we would like to know, over time, which objects of the 3 MDBs left are
most often used by users, we suspect 80% of them aren't used.
Some users use forms, but some click directly on macros or
tables/queries.
is it possible to implement an activity logging mechanism in access,
which would record in a table an entry for every time the user opens
up an access object? the forms/reports/macros are easy, just add a
small update query at their beginning to log when they are open. But
what about queries/tables?
also, there are hundreds of objects! to go through each and every one
of them
and add the logging command, would be a task well circumvented... .
is there some API or property of the Access application (we use ver.
2000) that
can help with this?
I thought of having the SysCmd(acSysCmd GetObjectState, objtype,
objname)
command run from a startup form in the background, on a timer event,
in an endless loop on all objects in the mdb every couple of seconds
and update the log table if their status is active, but that seems...
a little too much overhead, as well as not 100% certain to catch all
activations.
any ideas?
thanks
hh.
after merging dozens of databases on a large company IT environment,
we would like to know, over time, which objects of the 3 MDBs left are
most often used by users, we suspect 80% of them aren't used.
Some users use forms, but some click directly on macros or
tables/queries.
is it possible to implement an activity logging mechanism in access,
which would record in a table an entry for every time the user opens
up an access object? the forms/reports/macros are easy, just add a
small update query at their beginning to log when they are open. But
what about queries/tables?
also, there are hundreds of objects! to go through each and every one
of them
and add the logging command, would be a task well circumvented... .
is there some API or property of the Access application (we use ver.
2000) that
can help with this?
I thought of having the SysCmd(acSysCmd GetObjectState, objtype,
objname)
command run from a startup form in the background, on a timer event,
in an endless loop on all objects in the mdb every couple of seconds
and update the log table if their status is active, but that seems...
a little too much overhead, as well as not 100% certain to catch all
activations.
any ideas?
thanks
hh.
Comment