Results 1 to 2 of 2

Thread: Handle error messages

  1. #1
    Bob Hansen Guest

    Handle error messages


    Hi there,

    I was wondering if there is any way to intercept what error message is send to the client after an illegal insert or edit?(for example lets say it would create a duplex index or something else)

    I want to create a better explanation to the end user when he/she does something not correctly.

    Kind regards,

    Bob Hansen

  2. #2
    John Guest

    Handle error messages (reply)


    Hi Bob,

    The easiest way is to use dbSuppressMsg to turn off error messages, and then
    check properties like RecordCount to see if any records were returned.

    It's documented at:

    http://www.aspdb.com/docs/aspdb-ep.htm#dbSuppressMsg

    and an example at:

    aspdb.com/examples (B7)
    aspdb.com/apps/ (28)

    Hope this helps. Thanks,

    John


    ------------
    Bob Hansen at 11/24/99 7:58:15 AM


    Hi there,

    I was wondering if there is any way to intercept what error message is send to the client after an illegal insert or edit?(for example lets say it would create a duplex index or something else)

    I want to create a better explanation to the end user when he/she does something not correctly.

    Kind regards,

    Bob Hansen

Posting Permissions

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