Results 1 to 2 of 2

Thread: Get Field value from adorecordset?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Meeko
    Posts
    135

    Get Field value from adorecordset?

    Dear all,
    I know that we can use the following codes to get the field value of name user "adoRecordset!",

    Dim adoRecordset As ADODB.Recordset
    adoRecordset!name

    but what if "name" is not the field name itself but is a variable holding the field name?

    what is the correct syntax?

    Thanks
    Meeko

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Meeko
    Posts
    135

    Re: Get Field value from adorecordset?

    I already found the answer:

    adoRecordset(name).Value

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