Results 1 to 2 of 2

Thread: ON ERROR...

  1. #1
    Join Date
    Dec 1969

    Default ON ERROR...

    i have a long form for the user to fill out. there is a chance for the session to timeout on them. So when they save, it will cause an error. thats no good. so an error message doesn't show up, i have 'ON ERROR RESUME NEXT'. My question is about having my own error message pop up. Is there some kind of 'IF ERROR THEN' ? Thanks

  2. #2
    KPW Guest

    Default RE: ON ERROR...

    After any line of code that is likely to cause an error, check the value of Err.number. If it is not 0, then you got an error.<BR><BR>If Err.number &#060;&#062; 0 Then<BR>&#039; --- got an error ---<BR>End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts