CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199

    Ms-access Field Description

    Is there a way through VB to view the "Description" of a field in an Access table? ie in table design, you can view/edit Field Name, Field Type and Field Description. Cannot find any source that will allow ADO to view the Field Description. Anyone know?
    Thanks
    Paul
    Paul

  2. #2
    Join Date
    Aug 2001
    Posts
    1,447
    check the object browser for methods/properties
    phinds
    vs2008, 3.5SP1 Version 9.0.21022.8 RTM

  3. #3
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199
    I checked both the ADODB and ADODX libs and there doesnt seem to be anything, yet in MS-ACCESS the description field shows in listview, so MS must have a property to cover this field. Can't even seem to find an API either.
    Paul

  4. #4
    Join Date
    Aug 2001
    Posts
    1,447
    if it can be done in Access, then it can be done in VB. Try doing it manually with the macro capture turned on then look at the code behind the macro.
    phinds
    vs2008, 3.5SP1 Version 9.0.21022.8 RTM

  5. #5
    Join Date
    Jun 2001
    Location
    Mi
    Posts
    1,249
    TableDefs ... Check them out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured