Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6253947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:06:42+00:00 2026-05-24T14:06:42+00:00

I have an MS Access 2002-2003 database. I’d like to know if there’s a

  • 0

I have an MS Access 2002-2003 database. I’d like to know if there’s a way to programmatically retrieve the column descriptions. I can already obtain the column type, name, etc. using

OleDbDataReader reader = cmd.ExecuteReader(CommandBehavior.KeyInfo);

DataTable schemaTable = reader.GetSchemaTable();

foreach (DataRow myField in schemaTable.Rows)
{
   foreach (DataColumn myProperty in schemaTable.Columns)
   {
      // etc...
   }
}

but I don’t have access to the “Description” information (which you can view when using “Design View” in MSAccess).

Is there a simple way to get the “Description” information?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T14:06:43+00:00Added an answer on May 24, 2026 at 2:06 pm

    Here’s what I ended up doing:

    string columnName = "myColumnName"
    
    ADOX.Catalog cat = new ADOX.CatalogClass();
    ADODB.Connection conn = new ADODB.Connection();
    conn.Open(ConnectionString, null, null, 0);
    cat.ActiveConnection = conn;
    ADOX.Table mhs = cat.Tables["myTableName"];
    
    columnDescription = mhs.Columns[columnName].Properties["Description"].Value.ToString();
    
    conn.Close();
    

    This works great, except I had some trouble finding the right assemblies to add as references. I had to add a reference to adodb.dll (which comes with .Net). I also had to add a reference to Microsoft ADO Ext. 2.8 for DDL and Security which is an ActiveX component (found in the COM tab when adding references in Visual Studio).

    Code snippets are great, but if you omit reference information, some people get stuck 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a MS Access database (Access 2002, for the record). It has a
I have access to some images that can be gathered like this: http://www.example.com/imageGetter.php?a=0001 If
So I have an MS Access application originally in a 2002-2003 format. Developed on
I have inherited a poorly designed Access 2002 database. I am trying to troubleshoot
I have access to the database only through phpmyamdin. What can I do to
I have an Access 2002 application which links an Oracle table via ODBC with
I have the following Access 2002 query I'm running through OLE DB in .NET:
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I have Access 2003, and Crystal Reports 10 (the one that comes with VS2008
I have a fairly simple MS Access Database that contains some metadata about a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.