hi, im using msaccess as database. can u plz tel me how to delete records using vb (it should serch nad delete)
If you can acceess a database and retrieve a particular table from it, definetely, you can search,insert rows,delete rows/the entire table,alter,update the whole things. Why ask? Just select the appropriate keyword and its syntax. Much things are in this forum. Just give a search for it.
private sub cmddelete_()
adodc1.recordsource="select * from employee where id " & _
"'" & txtid.text & "'"
dim a as integer
if a=1 then
msgbox"id found ",,"id number match"
msgbox"record deleted",,"employee deleted"
msgbox"no id number match with ur request",,"no file found"
im using access hope it will help you make sure properly link
put the code in the command button code for vb6.0