VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Fill Combo\List All Over

Shauli  (3 Submissions)   Databases/Data Access/DAO/ADO   VB Script   Advanced   Wed 3rd February 2021

Use one generic sub to fill all comboboxes or listboxes on your form(s), with data pulled out from database.

Inputs
Tablename, fieldname, optional comboname, optional listboxname, optional orderbyfield

Assumes
This code is using ADO control, and uses two comboboxes and three listboxes on a form.

Returns
Fills combobox or listbox with data from database.

Rate Fill Combo\List All Over (4(4 Vote))
Fill Combo\List All Over.bas

Fill Combo\List All Over Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters