Re: MS Access table and field properties
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Sun, 28 Aug 2005 21:11:20 -0500
>
>But how about the comments I put in MS Access for each field? Is there a way
>to retrieve it?
There are some properties of an Access database you can only get using ADOX.
To do this you must import the ADOX type library.
Then you can use code like this
Use ADOX:
var
Column: _Column;
fCatalog : Catalog;
begin
fCatalog := CoCatalog.Create;
fCatalog._Set_ActiveConnection(ADOConnection.ConnectionString);
Column := fCatalog.Tables['tablename'].Columns['columnname'];
strColProp := Column.Properties['Description'].Value;
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: MS Access table and field properties
- From: TMA
- Re: MS Access table and field properties
- References:
- MS Access table and field properties
- From: TMA
- Re: MS Access table and field properties
- From: Alfred ten Hoeve
- Re: MS Access table and field properties
- From: TMA
- MS Access table and field properties
- Prev by Date: Re: TADOconnection not found
- Next by Date: Re: MS Access table and field properties
- Previous by thread: Re: MS Access table and field properties
- Next by thread: Re: MS Access table and field properties
- Index(es):
Relevant Pages
|