Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't grab description property value for a Linked table

Status
Not open for further replies.

Rascelon

Technical User
Mar 26, 2005
12
US
I have code that goes through my database objects using ADOX and records table,view or linked table names, columns, data types and descriptions into a table. The code works fine for tables but when I come across a linked table the field description is always blank. I can grab the Linked table name, field name, etc.
but not the .property = "Description" value.
When I open to edit the Linked table the Description field has information.

Does anybody why this is or some kind of work-around?

Vince
 
Hi,

I'm not sure, but you could try to get info from the systemtables like "MSysObjects", or get it from the remote db where the actual tables are.

Maarten
 
The following works for me:
MsgBox CurrentDB.TableDefs("myLinkedTable").Properties("Description")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top