Im new to Vb. I have created a simple database and its working fine. I want to implement a search function to my database. Iam also receiving an error when itry to edit a record. The error message reads you changes were not effected becaus ethey would create duplicate records. my code:
cmdedit_click
Rs!studentID=txtstudentID.text
Rs!lastname=txtlastname.text
Rs!firstname=txtfirstname.text
rs.update
end sub
studentID is the auto number and as well primary key