i have a combo box in vb6.0 which i need to get a column of data from oracle database, how can i extract a perticular column of data to a combo box

By using ADO, a select column from table statement, a do while not rs.eof, and of course combo1.additem rs.fields("fieldname")

Good Luck

By using ADO, a select column from table statement, a do while not rs.eof, and of course combo1.additem rs.fields("fieldname")

Good Luck

i will try this
thanks

i m getting only the first value in that combo box but i need the whole column, can u plz answer this

Kindly post the code that you are working on.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.