Error handling response message

Results 1 to 3 of 3

Thread: Error handling response message

  1. #1
    DCU Guest

    Default Error handling response message

    My form queries a database and if the user enters an invalid number (a number that doesn&#039t exist in the database) a generic error message will be returned. I would like to generate a specific message with instructions instead of this generic cryptic error message. I don&#039t know how to generate this specific message. <BR><BR>Thanks<BR>DCU<BR>

  2. #2
    Eddie Campbell Guest

    Default rs.eof

    test for rs.eof and then dispaly whatever message you want

  3. #3
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Error handling response message

    I assume you have your code something like this<BR><BR>"select * from TableName where ColumnName = whateverUserEntered", connection, 3<BR><BR>if rec.eof then<BR>&#039means there were no records...incorrect value entered<BR>&#039write your error message here<BR>else<BR>while not rec.eof<BR>&#039&#039&#039normal code<BR>wend<BR>end if<BR>

Posting Permissions

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