Results 1 to 3 of 3

Thread: Field Description

  1. #1

    Thread Starter
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961

    Field Description

    Hi all,

    When we create a table in MS Access, we input 3 entries:

    1) Field Name;
    2) Field Type and
    3) Field Description

    Is there any way through which I can fetch that Field Description value programatically?

    Something like 'rs.Fields(Index).Description'

    Pls guide

    Regards,

    Prakash

  2. #2
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602
    if you use a datareader you can use the properties

    *GetDataTypeName
    *GetFieldName

    for each row to get it's system and db types

    for datasets, the only way I can think of is to make a typed dataset based on the xls file of the database??

    Anyone else?


    yours
    Henrik

  3. #3

    Thread Starter
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961

    [resolved]

    got the answer from db section

    VB Code:
    1. rs.Fields("FieldName").Properties("Description").Value

    regards

    prakash

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