473,585 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a code book from Access 2003

Hi,

A client asked for a code book (all fields, descriptions, tables, etc.) from
our Access database. Has anyone had to do this? It seems to me there must
be a way to extract all this information from Access.

Any assistance would be wonderful.

Thanks.

Jun 27 '08 #1
7 3638
On Tue, 06 May 2008 16:13:04 GMT, mlthomas007 wrote:
Hi,

A client asked for a code book (all fields, descriptions, tables, etc.) from
our Access database. Has anyone had to do this? It seems to me there must
be a way to extract all this information from Access.

Any assistance would be wonderful.

Thanks.
is this what you want?

Tools + Analyze + Documenter
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jun 27 '08 #2
A third-party tool, Total Access Analyzer, from FMS, Inc.
(htttp://www.fmsinc.com) will provide more information than you or your
client is likely ever to want to go through. You can find a free
documentation tool at the Access Junkie site,
http://www.accessmvp.com/JConrad/accessjunkie.html, specifically at
http://www.accessmvp.com/JConrad/acc.../csdtools.html. There are
others, but these are two that provide extensive documentation.

Larry Linson
Microsoft Office Access MVP
"mlthomas00 7" <u43434@uwewrot e in message news:83c0e43c9e dd0@uwe...
Hi,

A client asked for a code book (all fields, descriptions, tables, etc.)
from
our Access database. Has anyone had to do this? It seems to me there
must
be a way to extract all this information from Access.

Any assistance would be wonderful.

Thanks.

Jun 27 '08 #3
Thanks I will check it out.

Larry Linson wrote:
>A third-party tool, Total Access Analyzer, from FMS, Inc.
(htttp://www.fmsinc.com) will provide more information than you or your
client is likely ever to want to go through. You can find a free
documentatio n tool at the Access Junkie site,
http://www.accessmvp.com/JConrad/accessjunkie.html, specifically at
http://www.accessmvp.com/JConrad/acc.../csdtools.html. There are
others, but these are two that provide extensive documentation.

Larry Linson
Microsoft Office Access MVP
>Hi,
[quoted text clipped - 7 lines]
>>
Thanks.
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #4
Hi,

We need to pull the tables, fields, etc with descriptions and vaules.

Thanks

fredg wrote:
>Hi,
[quoted text clipped - 5 lines]
>>
Thanks.

is this what you want?

Tools + Analyze + Documenter
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #5
On May 6, 11:13*am, "mlthomas00 7" <u43434@uwewrot e:
Hi,

A client asked for a code book (all fields, descriptions, tables, etc.) from
our Access database. *Has anyone had to do this? *It seems to me theremust
be a way to extract all this information from Access.
I use a report called tblFields with the following code. The report
groups on table names and shows the field descriptions. Sometimes
this is eough for the client, sometimes I send it into Word and
explain a little more what's going on. I can copy the report to any
application for a quick look of what's what.

Private Sub Report_Open(Can cel As Integer)
' Arvin Meyer 12/7/1995
' Modified 3/17/2000 Tim Mills-Groninger
' Finds and lists all fields in all tables

On Error Resume Next
Me.CreateNewTab leWithChecking = Null 'check for tblFields, make if not
present

Dim db As Database
Dim rst As Recordset
Dim tdf As TableDef
Dim fld As Field
Dim intI As Integer
Dim intJ As Integer
Dim strDesc As String

Set db = CurrentDb()
' Clean out the "working" table tblFields
db.Execute "Delete * From tblFields"
' Open the table for data entry
Set rst = db.OpenRecordse t("tblFields" , DB_OPEN_TABLE,
DB_APPENDONLY)
' Outer loop for tables
For intI = 0 To db.TableDefs.Co unt - 1
Set tdf = db.TableDefs(in tI)
' Skip system tables
If Left(tdf.Name, 4) <"MSys" Then
' Now loop through fields
For intJ = 0 To tdf.Fields.Coun t - 1
Set fld = tdf.Fields(intJ )
rst.AddNew
rst!TableName = tdf.Name
rst!FieldName = fld.Name
rst!FieldNumber = fld.OrdinalPosi tion
Select Case fld.Type
Case dbDate
rst!DataType = "Date/Time"
Case dbText
rst!DataType = "Text"
Case dbMemo
rst!DataType = "Memo"
'Case dbHyperlinkFiel d
' rst!DataType = "Hyperlink"
Case dbBoolean
rst!DataType = "Yes/No"
Case dbInteger
rst!DataType = "Integer"
Case dbLong
rst!DataType = "Long Integer"
Case dbCurrency
rst!DataType = "Currency"
Case dbSingle
rst!DataType = "Single"
Case dbDouble
rst!DataType = "Double"
Case dbByte
rst!DataType = "Byte"
Case dbLongBinary
rst!DataType = "OLE Field"
Case Else
rst!DataType = "Unknown"
End Select
strDesc = ""
' The Resume Next will avoid an error if there is no
Description
strDesc = fld.Properties( "Descriptio n")
rst!Description = IIf(IsNull(fld. Properties("Des cription")),
"", strDesc)
rst.Update
Next intJ
End If
Next intI
rst.Close
End Sub

Function CreateNewTableW ithChecking()
' check for table fields, and if not present, make one
' Helen Feddema - the Access Archon, modified from her column
' in Woody's Access Watch Vol2 No11

On Error GoTo ErrorHandler

Dim dbs As DAO.Database
Dim strTable As String
Dim strSQL As String
Dim tdf As TableDef
Dim lngResult As Long

Set dbs = CurrentDb
strTable = "tblFields"
Set tdf = dbs.TableDefs(s trTable)
'dbs.TableDefs. Delete strTable

CreateNewTable: 'Runs only if "tblFields" does not exist

strSQL = "CREATE TABLE " & strTable & "(TableName TEXT (50),
FieldName TEXT (50), "
strSQL = strSQL + " FieldNumber INTEGER, DataType TEXT (50),
DefaultValue TEXT (50)"
strSQL = strSQL + " , Description TEXT (150), Constraint myCon
Primary Key (TableName, FieldName));"

dbs.Execute strSQL

ErrorHandlerExi t:

Exit Function

ErrorHandler:

Select Case Err.Number
Case 3265
GoTo CreateNewTable
Case Else
'MsgBox "Error No: " & Err.Number & "; Description: " &
Err.Description
Resume ErrorHandlerExi t
End Select

End Function
Jun 27 '08 #6
Hi,

Is there a way to get the Values as well?

Thanks.

Mlthomas007
Larry Linson wrote:
>A third-party tool, Total Access Analyzer, from FMS, Inc.
(htttp://www.fmsinc.com) will provide more information than you or your
client is likely ever to want to go through. You can find a free
documentatio n tool at the Access Junkie site,
http://www.accessmvp.com/JConrad/accessjunkie.html, specifically at
http://www.accessmvp.com/JConrad/acc.../csdtools.html. There are
others, but these are two that provide extensive documentation.

Larry Linson
Microsoft Office Access MVP
>Hi,
[quoted text clipped - 7 lines]
>>
Thanks.
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #7
"mlthomas00 7 via AccessMonster.c om" <u43434@uwewrot e in message
news:83d9818984 62f@uwe...
Is there a way to get the Values as well?
Multiple methods are provided, directly in Access, to display, print, and/or
export the data -- no special tools are required. Assuming this is a
production application, the data will be transitory, and that data dump will
be accurate only until the next deletion, update, or addition.

Larry Linson
Microsoft Office Access MVP

Jun 27 '08 #8

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

Similar topics

40
4245
by: post400 | last post by:
Hi, there is another famous book 'Writing solid code' but does it apply to Python ? Or it's usable only by Microsoft C programmers ? The author seems to be an ex-Microsoft guy ! Thanks , post400
5
2297
by: Phil | last post by:
I am a novice user with Access 2000. I have a five table database that works, but know it can be designed much better. I want to learn much more. I have no experience coding, no exposure to VBA or anything like that. I can make rudimentary queries, reports, and forms, but struggle. Overall I know enough to be dangerous, and am not real...
1
1412
by: Top Spin | last post by:
I have been fooling around with Access on and off for a couple of years -- mostly simple applications with only a few tables and simple relationships. I know the basics for the most part and I have a general awareness of relational concepts, but I don't feel that I really fully understand database design. So, I'd like to get a couple of...
6
13440
by: Null Reference | last post by:
Anybody here who can explain or point me to a link ? I wish to create a blank MS Access DB file programmatically using C# . Thanks, nfs
4
1256
by: dw | last post by:
Hi, all. I know you've had this question only a million times before, but here it goes: I have access to Books 24X7, the online computer book resource. Do you recommend any books for beginners with strong ASP experience? In other words, someone who already knows Web development, just not in the ASP.NET enviornment with Visual Studio 2003 .NET....
7
1587
by: Michael Williams | last post by:
Hi All, I'm looking for a quality Python XML implementation. All of the DOM and SAX implementations I've come across so far are rather convoluted. Are there any quality implementations that will (after parsing the XML) return an object that is accessible by name? Such as the following:
2
1227
by: AA | last post by:
Hi! I am a comeback database developer using MS Access (last time was 1998). I kindly ask for your recommendation of a good book(s) that can be used as Jump starter, and reference. (more than one book is OK).. Thanks A.A.
3
2053
by: ITrishGuru | last post by:
Hi all, For my IT final year project I have to access mail items in outlook 2003 and parse them. I have read and researched on the net and library for about a week now. I have to do the project in c# using visualc# 2005 Express Edition. I know this may limit me to manully coding a little more but I dont mind that. So far I think I have...
8
2046
by: Tim | last post by:
I have Access 2003 and would like to learn more abot it. I don't find it very intuitive like most of MS other products. I feel where I'm going wrong is the philosophy of databases and was hoping someone might point me in the right direction for such material. I have googled and found a few tutorials and e-books but I dopn't find them...
0
7908
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8336
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7950
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6606
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.