how to edit a record in database by using vb6, i don't any clue :(
I'll test this from your app, and will paste back here again.:)
AndreRet
Industrious Poster
4,706 posts since Jan 2008
Reputation Points: 391
Solved Threads: 481
Skill Endorsements: 20
The reference to txtName and all the other controls below that is on yout frmReview. You have to addfrmReview before the control names -
Rs!Name = frmReview.txtName.Text
Your other problem is that it will update the database with empty strings, because all of the textboxes is empty. You need to put the in frmReview for it to work. First check if the user has added all text needed and THEN update the database.:)
AndreRet
Industrious Poster
4,706 posts since Jan 2008
Reputation Points: 391
Solved Threads: 481
Skill Endorsements: 20
Have a look at your toolbar, click event AND your module, I've added some code there. It is all working fine, just mark this as solved thanks.:)
AndreRet
Industrious Poster
4,706 posts since Jan 2008
Reputation Points: 391
Solved Threads: 481
Skill Endorsements: 20
Question Answered as of 2 Years Ago by
AndreRet
and
abelingaw