I need one more help
Say suppose I have 3 records from database when i did a select query
I need three values to be popualted in the three different text box .
If I have four then i need four text box in the form
How can I do this

Recommended Answers

All 2 Replies

you need fetch the data from recordset and assign the same to the corresponding text boxes. You need to use index or field name on the recordset.

well that might be not an easy solution.
you need to implement control arrays to accomplish this task.

the way you are trying to solve out this prob you need to create textboxes dynamically on ur form based on number of records returned by your recordset.

do search in google on control arrays with vb6.

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.