CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Posts
    2

    How to count columns of the MS Access database using Visual Basic programming?

    Can anyone please tell me how to count the horizontal COLUMNS in Microsoft Access database using Visual Basic programming? Thank you.



  2. #2
    Join Date
    Jul 1999
    Location
    USA
    Posts
    101

    Re: How to count columns of the MS Access database using Visual Basic programming?

    your question is confusing. columns are never horizontal, they r vertical...considering u want to count the number of fields, i.e columns, open up a recordset and use the 'fields' property.

    iFldCount = rs.fields.count


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