Thread Solved

Join Date: Oct 2009
Posts: 23
Reputation: Israelsimba is an unknown quantity at this point 
Solved Threads: 0
Israelsimba Israelsimba is offline Offline
Newbie Poster

Error!!!

 
0
  #1
16 Days Ago
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....
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. r.Fields("companyphone") = txtcphone.Text
  2. 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!!!
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 42
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz
 
0
  #2
12 Days Ago
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 23
Reputation: Israelsimba is an unknown quantity at this point 
Solved Threads: 0
Israelsimba Israelsimba is offline Offline
Newbie Poster
 
0
  #3
12 Days Ago
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..
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 14
Reputation: akhileshbc is an unknown quantity at this point 
Solved Threads: 4
akhileshbc's Avatar
akhileshbc akhileshbc is offline Offline
Newbie Poster
 
0
  #4
11 Days Ago
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1.  
  2. on error goto Er
  3.  
  4. r.Fields("companyphone") = txtcphone.Text
  5.  
  6. r.Fields("companywebsite") = txtcwebsite.Text
  7. exit sub
  8. Er:
  9. msgbox "Error occured"
Please post your entire code inside save button...
Last edited by akhileshbc; 11 Days Ago at 4:14 am.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC