We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,439 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion
Page 2 of Article: vb6 Edit database record
how to edit a record in database by using vb6, i don't any clue :(

yes the table name List exist

Shodow
Junior Poster
167 posts since Jan 2011
Reputation Points: 14
Solved Threads: 0
Skill Endorsements: 0

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

have you figure it out?

Shodow
Junior Poster
167 posts since Jan 2011
Reputation Points: 14
Solved Threads: 0
Skill Endorsements: 0

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

frmReserve? i will put frmReserve in all txtName.txt?

Shodow
Junior Poster
167 posts since Jan 2011
Reputation Points: 14
Solved Threads: 0
Skill Endorsements: 0

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

how to edit a record in database by using vb6, i don't any clue :(

eva.lavinia.5
Newbie Poster
1 post since Mar 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

you are newbie to daniweb , so i would suggest you to read its rules

post your questions ( including your efforts ) to new thread.

rishif2
Junior Poster
175 posts since Dec 2012
Reputation Points: 54
Solved Threads: 34
Skill Endorsements: 3

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0848 seconds using 2.69MB