Results 1 to 4 of 4

Thread: ADO recordset

  1. #1

    Thread Starter
    Hyperactive Member beasty1711's Avatar
    Join Date
    Mar 2001
    Posts
    418

    ADO recordset

    i have fired my vb syntax to SQL and got the results back as a recordset.

    without having to run a loop is there anyway of checking how many columns there are in the data that is returened/

    i.e if tTable as Name and age cols

    then "select * from tTable" would bring back the records within that table, but i need to know that there are two cols... name and age
    "...They even have the internet on computers..." :- Homer Simpson

    "Second Place is First Looser" :- No Fear

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    rsRecordset.Fields.Count

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    New Member
    Join Date
    Jun 2002
    Location
    South Africa
    Posts
    6
    recordsetobject.fields.count
    Barend

  4. #4

    Thread Starter
    Hyperactive Member beasty1711's Avatar
    Join Date
    Mar 2001
    Posts
    418
    duhh... i'm just about to shoot my self in the head.... my brain isnt the best atm

    but thanx anyway
    "...They even have the internet on computers..." :- Homer Simpson

    "Second Place is First Looser" :- No Fear

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