954,559 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

error with database

I work with a student database project. when I click Add New button a massage show. I write code in add new button was "adodc1.recordset.addnew." massage was
"Multiple - step OLEDB operation generated errors. check each OLEDB status value, it avaiable. No works was done."
when I press ok another error show.
"Run time error'-2147217842(80040e-4e)': operation was canceled."
and now record save. please help me urgent.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

hi. are you using textbox? and are they bound?

AUGXIS
Light Poster
45 posts since Dec 2007
Reputation Points: 11
Solved Threads: 11
 

please post your code so that we can easily understand the problem...

jireh
Posting Whiz
316 posts since Jul 2007
Reputation Points: 11
Solved Threads: 49
 

>>hi. are you using textbox? and are they bound?

Ya I use textbox.

>>please post your code so that we can easily understand the problem...

I only write "addnew" code. and face this problem.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

help me please.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

hi. can you please post your code. but anyways if you're in a hurry you can just put on error resume next on your code so you won't get an error message for the mean time.but still you need to figure out the problem.

AUGXIS
Light Poster
45 posts since Dec 2007
Reputation Points: 11
Solved Threads: 11
 

I only write "addnew" code. It worked but some day after now it not work. no other code I write. I start this and faced problem.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

every thing is ok. I did it again. I remove every thing and did it againl. Now its work. No problem faced.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

I remove every thing. I did it again. now it work. thnaks every body.

regards
Taher

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You