View Single Post
  #5  
Old May 19th, 2004, 06:09 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default customizing "documentor" output

Hi Jeff,
I found this quite a while ago but don't recall how. I knew there would be a
table created in an MDT file and just searched. You can open the MDT
directly and see lots of interesting stuff but none of it is documented and
if you mess up something, you may have wizards or builders BREAK.

Regarding the documenter, I have created a crosstab of field names as row
headings and table names as column headings and size a the value to see
where fields are common to various tables.

--
Duane Hookom
MS Access MVP


"Jeff Conrad" wrote in message
...
How in the world do you come up with this stuff Duane??!
That is VERY slick!
Is there some documentation on this somewhere you found?

--
Jeff Conrad
Access Junkie
Bend, Oregon

"Duane Hookom" wrote in message
...
After you run the documenter, you can create a link to the table that
contains all the property values. The table connection on my PC is
DATABASE=C:\Documents and Settings\Duane Hookom\Application
Data\Microsoft\Access\ACWZUSRT.MDT;TABLE=doc_tblOb jects
You can then create a crosstab with SQL like:

TRANSFORM First(doc_tblObjects_2.Extra1) AS FirstOfExtra1
SELECT doc_tblObjects.Name AS TableName, doc_tblObjects_1.Name AS

FieldName,
doc_tblObjects_1.Extra2 AS FieldType, doc_tblObjects_1.Extra3 AS

FieldSize
FROM doc_tblObjects AS doc_tblObjects_2 INNER JOIN (doc_tblObjects AS
doc_tblObjects_1 INNER JOIN doc_tblObjects ON doc_tblObjects_1.ParentID

=
doc_tblObjects.ID) ON doc_tblObjects_2.ParentID = doc_tblObjects_1.ID
WHERE (((doc_tblObjects_1.TypeID)=11))
GROUP BY doc_tblObjects.Name, doc_tblObjects_1.Name,
doc_tblObjects_1.Extra2, doc_tblObjects_1.Extra3
PIVOT doc_tblObjects_2.Name In ("Caption:","Description:");

--
Duane Hookom
MS Access MVP


"W Garrard" wrote in message
...
Hi All,
I have to document an inherited set of MSAccess 2000 files and it

would be
very helpful if I could customize the output from the tables

documentor.
I
would like to have the table report output include the "field

description"
(info visible in table design view) and the "caption" in addition to

the
default info (e.g., field name, data type, and data size).

I assume the only way to do this is using VBA. I am pretty good at
modifying existing VBA code if someone can point me to a relevant

example
for this. Of course, I would love a nonVBA option for doing this. Can
anyone point me to a solution?

Also, it would be worth upgrading to a newer version of MSAccess if

the
documentor output was customizable. Anyone know this?

Thanks in advance,
wg