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.

Re: Code for searchin multiple records 80 80

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

Re: Code for searchin multiple records 80 80

thnx

Be a part of the DaniWeb community

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