473,385 Members | 1,353 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Tool for Isolating Unused Reports, Queries, etc

Access 2000 - Is there a 3rd party tool available, or perhaps some method
built into Access 2000, which could isolate unused Access reports, queries,
forms, etc?

I have a 5 year old app which has not always been cleaned up. I know there
are quite a few such no longer used items. I have a "Find" utility which is
good, but I need to look for every component individually - it is very time
consuming because there are hundreds of components in the app.

Many thanks
Mike Thomas
Nov 12 '05 #1
4 2279
Mike Thomas wrote:
Access 2000 - Is there a 3rd party tool available, or perhaps some method
built into Access 2000, which could isolate unused Access reports, queries,
forms, etc?

I have a 5 year old app which has not always been cleaned up. I know there
are quite a few such no longer used items. I have a "Find" utility which is
good, but I need to look for every component individually - it is very time
consuming because there are hundreds of components in the app.

Many thanks
Mike Thomas

You could check out SpeedFerret.

You could roll-your-own if you are a programmer. You would need the
following knowdedge. For/Next, the Document object in order to check
all form/report/modules for references to Docmd.OpenReport, the Modules
object, how to scan all controls in a report to see if any are subforms,
how to add a record to a table (you would want to store the name of all
existing reports and in another table all reports you find for
comparision purposes), the FindMethod for the Module object, and the
ability to go back in lines in case the report is opened via a variable
name instead of the name of the report.

In fact, that would be the most difficult part of the program. Here are
2 examples

Dim stDocName As STring
stDocName = "TestReport"
Docmd.openreport stDocName

You'd need to loop back a line to see what stDocName is
Or

Dim strReport As STring
strReport = "TestReport"
Call OpenReportFile strRerport

Sub OpenReportFile(strReportName As STring)
Docmd.OpenReport strReportName)
End Sub

This would be a real PITA.
Nov 12 '05 #2
Hi Mike,

There is a hidden table (in Access97 anyway) called MSysObjects. That table
contains a couple of fields that may help you to determine how "current"
these objects are, perhaps?
The fields are DateCreate and DateUpdate.

In my way of thinking, the objects that have not been updated in some time
are likely objects that don't get used? Most forms / reports (at least in my
apps) seem to go thru an "evolutionary" process. <grin>

This SQL (query) will show those objects that haven't changed in the last
year...

SELECT MSysObjects.*
FROM MSysObjects
WHERE (((MSysObjects.DateUpdate)<Now()-365));

Some advice before proceeding with deletion of objects, however...
Make SURE that you have a reliable backup!

HTH,
Don

Mike Thomas <mi**@ease.com> wrote in message
news:tp*******************@newssvr28.news.prodigy. com...
Access 2000 - Is there a 3rd party tool available, or perhaps some method
built into Access 2000, which could isolate unused Access reports, queries, forms, etc?

I have a 5 year old app which has not always been cleaned up. I know there are quite a few such no longer used items. I have a "Find" utility which is good, but I need to look for every component individually - it is very time consuming because there are hundreds of components in the app.

Many thanks
Mike Thomas

Nov 12 '05 #3
Salad wrote:
Mike Thomas wrote:
Access 2000 - Is there a 3rd party tool available, or perhaps some
method built into Access 2000, which could isolate unused Access
reports, queries, forms, etc?

I have a 5 year old app which has not always been cleaned up. I
know there are quite a few such no longer used items. I have a
"Find" utility which is good, but I need to look for every component
individually - it is very time consuming because there are hundreds
of components in the app.

Many thanks
Mike Thomas

You could check out SpeedFerret.

You could roll-your-own if you are a programmer. You would need the
following knowdedge. For/Next, the Document object in order to check
all form/report/modules for references to Docmd.OpenReport, the
Modules object, how to scan all controls in a report to see if any
are subforms, how to add a record to a table (you would want to store
the name of all existing reports and in another table all reports you
find for comparision purposes), the FindMethod for the Module object,
and the ability to go back in lines in case the report is opened via
a variable name instead of the name of the report.

In fact, that would be the most difficult part of the program. Here
are 2 examples

Dim stDocName As STring
stDocName = "TestReport"
Docmd.openreport stDocName

You'd need to loop back a line to see what stDocName is
Or

Dim strReport As STring
strReport = "TestReport"
Call OpenReportFile strRerport

Sub OpenReportFile(strReportName As STring)
Docmd.OpenReport strReportName)
End Sub

This would be a real PITA.

Didn't know Speedferret would do this.. thought it only did global
find/replace?

A better tool is TotalAccess Analyser (not particulary cheap though but
it does have a lot of good functions).

I'm tempted to write my own sometime though....
--
regards,

Bradley
Nov 12 '05 #4
Bradley wrote:
Didn't know Speedferret would do this.. thought it only did global
find/replace?
You're probably correct. I don't have it. If it's just for a global
search/replace I'll roll my own.

A better tool is TotalAccess Analyser (not particulary cheap though
butit does have a lot of good functions).

I'm tempted to write my own sometime though....


I wouldn't be surprised if most of us have the code to do what we need
in some module.

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
6
by: Scott Simpson | last post by:
What is a good tool for running XPath queries on Linux? I have the O'Reilly XPath book and I'm using XPath Visualizer on Windows and that seems to work fine, but I'm looking for something on Linux....
2
by: OM | last post by:
Is there a simple program that will give me a diagram of all the sources of reports (queries and tables, and sometimes forms I guess). Thanks Rob Lepper
4
by: Mike Thomas | last post by:
Access 2000 - Is there a 3rd party tool available, or perhaps some method built into Access 2000, which could isolate unused Access reports, queries, forms, etc? I have a 5 year old app which...
0
by: Jim R | last post by:
Simple probably. Table has 2 rows 1) Company Name 2) No Months Delinquent. Want to write a simple report that gives by company name, Total loans, Total 0, 1, 2, 3 and over 4 months delinquent....
2
by: Max | last post by:
I am editting a database created in access 2003 by another programmer. This person has left the company for which the database was created and no documentation. So that I could work on this...
1
by: John K. Humkey | last post by:
I'm at a loss (and, like a hard-core alcoholic) the "experts" I'm working with won't even acknowledge there is a problem. . . Is there any way to run "interactive transactions" at one priority...
2
by: MyEmailList | last post by:
We have an Access data base with severl tables, queries and forms. We want to put it on the web. Is there a tool that will convert the Access queries and forms to ASP? Sorta like "splitting"...
11
by: Executable | last post by:
Hi, I have a question. I have a table of several records each record contains about 20 columns and of course several rows. I would like to generate a query which checks each cell (not each...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.