I am trying to search data in database at runtime....
when a user put the license no in the text box and press button
this is my query but it is not working, for every search it is showing first record of the database......
Set rd = New Recordset
rd.Open "select * from LEARNER where 'LICENSE_NO=(Text1.Text)'", db, adOpenStatic, adLockOptimistic