CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    RS, Brasil
    Posts
    9

    Description of a Field in a Access Table

    How can I get the descritption of a field in a Access table, using VC 5?


  2. #2
    Join Date
    Apr 1999
    Posts
    23

    Re: Description of a Field in a Access Table

    If you are using CRecordsets you can make a call CRecordset::GetODBCFieldInfo which will return the following structure.
    struct CODBCFieldInfo
    {
    CString m_strName;
    SWORD m_nSQLType;
    UDWORD m_nPrecision;
    SWORD m_nScale;
    SWORD m_nNullability;
    };

    Hope this helps


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