Can anyone plz give me code for searchin multiple records stored in Access db and displaying them?!!?
The code i wrote displays only 1 record.

Recommended Answers

All 2 Replies

use this logic

dim rs as new adodb.recordset
rs.open "select emp_name from employee",myconnection
do while rs.eof=false
combo1.additem rs(0)
rs.movenext
loop
rs.close

try this will work

thnx

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.