Until someone suggests a better solution, you can have an ADO recordset with the information you want, then have a while loop add values and move to the next record until reaching Recordset.EOF.
If your database table is large, another method is to use the bulk field exchange functions. They're a little tricky (at least for me) but are much faster for large amounts of data.
I was able to get it to work using the code below. What I want to do next is store the information of the buyer and seller in another table. I'm using a Customer table to populate the ComboBox. Next I want select a buyer and seller from the ComboBox and then store those two names in a Transaction table. My question is what is the correct value to store in the Transaction table: the m_CustomerID,m_CustomerName or the value from SetItemData. The way I understand SetItemData is that it is used to set a unique value to each index. Any thoughts on this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.