?
Solved

Visual Basic Data Dictionary using ADO or DAO

Posted on 2003-02-19
7
Medium Priority
?
272 Views
Last Modified: 2013-11-25
I am looking to further detail data dictionary code to show the field's precision and scale.  How do I do this using ADO & DAO?  I have code to pull table name, field name, field type but need the two additional characteristics.  code look like this:

rst.AddNew
rst!TableName = tdf.Name
rst!TableType = "Field"
rst!Name = Fld.Name
rst!PropertyName = prp.Name
rst!FieldType = PropertyValueFormat(prp) - calls Case statement function
rst!FieldScale = ??
rst!fieldPrecision = ??
rst.Update
0
Comment
Question by:augustamg
7 Comments
 
LVL 16

Expert Comment

by:twalgrave
ID: 7985388
0
 

Author Comment

by:augustamg
ID: 7988369
how about with dao?
0
 

Author Comment

by:augustamg
ID: 7988594
how about with dao?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Accepted Solution

by:
twalgrave earned 200 total points
ID: 8000293
0
 

Expert Comment

by:CleanupPing
ID: 8901420
augustamg:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
0
 
LVL 16

Expert Comment

by:twalgrave
ID: 8903969
recommendation: answered by twalgrave
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8959706
Moderator, my recommended disposition is:

    Accept twalgrave's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question