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

Thread: RecordSet

  1. #1
    Join Date
    Aug 2001
    Posts
    31

    RecordSet

    Hi

    Im working with recordset on ADO ,.. and i want to fill a combo box with the results of this query..
    Select TABLE_NAME
    From information_schema.Tables
    Where TABLE_TYPE='BASE TABLe'

    Can anybody help me...

    Thanks..! is urgent!!!!!!!



  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: RecordSet

    First open recordset
    sSQL = "select * from Table where ...."

    rs.Open sSQL, connection, adOpenDynamic, adLockOptimistic

    and now fill the combobox

    Combo1.AddItem rs!FieldName

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

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