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

Error!!!

My subscription system is now running though with errors here and there.the error that concerns me a lot is a runtime error that says
multiple steps generated an error check value status
and points to this code....

r.Fields("companyphone") = txtcphone.Text
r.Fields("companywebsite") = txtcwebsite.Text

and this code is in my save button. at times the error doesnt show but at times it pops up when a user is testing...
how best can i trap such an error because i know there must be a way which i dont know.
thank you in advance!!!

Israelsimba
Light Poster
41 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

check the fields if it allows null value. if not then put a trappings to force the user to enter a value on the field.

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

it doesnt enforce any fields in the database..but i have enforced at form level..ie a person cannot save without entering all the required fields on the form. this error pops up a any time but not always..

Israelsimba
Light Poster
41 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 
on error goto Er

      r.Fields("companyphone") = txtcphone.Text
  
      r.Fields("companywebsite") = txtcwebsite.Text
exit sub
Er:
msgbox "Error occured"

Please post your entire code inside save button...

akhileshbc
Newbie Poster
14 posts since Nov 2009
Reputation Points: 10
Solved Threads: 5
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You