Hi Doug,
Sorry, poor choice of words on my part with "reset."
I thought it would change all the DateUpdated fields to the current date and time after a compact.
But, this is just my recollection and I could very well be mistaken. I'll probably run some tests to
be sure.
For your second point, I believe I know exactly what you are asking. Your Add-In only creates a new
report object which is *updated* so to speak every time it is open because your slick SQL just
queries the System Tables. There is no need to have this information stored in a table. Also, once
created the first time, there is no need to go back up to:
Tools | Add-Ins | Doug Steele Object Documentor
whenever you run the report. You just need to open it from the Database Window.
Now to see a difference, take a look at one of my other Add-Ins. You should still have a copy of my
"John Viescas Table Documentor" I believe. If you have not installed it, go ahead and install it and
then test it out. This Add-In creates a report AND a table in the database. The code loops through
all the tables gathering all the field information. It writes all this information to the table. The
report then uses this table as its Record Source. The information in the table is a "snapshot", if
you will, of the table structure for that moment in time. You can open the report again at any time
from the Database Window, but it will only be accurate up to the last time you ran the Add-In.
If you make any field/table changes and want to have an *updated* report you MUST go back up to:
Tools | Add-Ins | John Viescas Table Documentor
and re-run the Add-In. The table values will be cleared and re-populated with new information. So
this works different than your Add-In. Does that make more sense?
So if the SQL for your report could not be modified to include those two new values it is certainly
possible to write all this information to a table and base the report on that. I've done this before
so it is not a problem. This would of course make a fundamental change to your Add-In. My only point
was that I could easily do that, but naturally I prefer to just have the report instead of a report
AND a table. Follow me?