i am in need of coding for retrieving data from access database using combo box, which means retrieing the stored particular details that for eg, retrieving particular students details using the students id that is retrievied by combo box.

Recommended Answers

We don't provide code on demand, however, if you show that you have put in some effort to solve the problem yourself we can help you work toward a solution.

Jump to Post

All 2 Replies

We don't provide code on demand, however, if you show that you have put in some effort to solve the problem yourself we can help you work toward a solution.

'Populate your combobox with student ID'
If Not Rs.RecordCount = 0 Then
Rs.MoveFirst
Do
Combo1.AddItem Rs!StudentID
Rs.MoveNext
Loop While Not Rs.EOF
Rs.MoveFirst
End If
Be a part of the DaniWeb community

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