VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



RecsetToCombo Function

by Vergel R Dalusung (3 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Populating a standard combo box with data from a recordset of 15,000 records or more seems to take forever. I used API calls instead of the AddItem method and my test results shows my function is at least 3 times faster than the AddItem Method. This download does not come with a database file, so if you'd like to test it then provide your own db. Please post the number of records in your ADODB recordset object, the time it takes to populate the combo box with the Additem method (just uncomment a line in my test project, it comes with a timer), and the time it takes using my RecsetToCombo function which is made up of a couple of API calls.

Rate RecsetToCombo Function

Download RecsetToCombo Function

Download RecsetToCombo Function (3 KB)

RecsetToCombo Function Comments

No comments have been posted about RecsetToCombo Function. Why not be the first to post a comment about RecsetToCombo Function.

Post your comment

Subject:
Message:
0/1000 characters