Crookshanks
Technical User
Hello there!
Small question. I've got a form with a listbox. I do not have object relating to the database on the form. I would like to create the object during runtime.
What is the easiest / best way to populate a listbox / combobox using a SQL Query. I've read it has to be a Ilist, but I am not sure how to start.
Could someone supply some example code for an access database (oledbcommands). Thanks in advance.
Kinds regards,
Small question. I've got a form with a listbox. I do not have object relating to the database on the form. I would like to create the object during runtime.
What is the easiest / best way to populate a listbox / combobox using a SQL Query. I've read it has to be a Ilist, but I am not sure how to start.
Could someone supply some example code for an access database (oledbcommands). Thanks in advance.
Kinds regards,