Results 1 to 3 of 3

Thread: adodc

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69

    Unhappy

    Whats the best from a performance (If any differences) pont of view in populating a data combo. Using the adodc control component or ADODB.recordset code and looping through the recordset to populate my combo box?

    Regards


    Gerard
    Live long and prosper...

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374
    Neither, really. You should use a DataBound Combo with
    an ADODB recordset instead, and bind it to the recordset
    instead of looping through the records.
    Code:
    With myDataCombo
        Set .RowSource = myRecordset
        .ListField = "MyField"
        .BoundColumn = "IdMyAutonumber" 
    End With

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69
    Would I be better off using DAO, what I seem to here is that DAO still has better performance over ADO when accessing Access databases. Any comment?

    Ta

    Gerard
    Live long and prosper...

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