Results 1 to 2 of 2

Thread: when no records are found

  1. #1
    Scott Hathaway Guest

    when no records are found


    When no records are found, we get this ugly error message. I want to not show any error message. I would like it to show the Titles of the columns and then just show no data in them. How can I do this?

    We are using aspdb.view.

    Thanks,
    Scott

  2. #2
    John Guest

    when no records are found (reply)

    Hi Scott,

    No problem. Just set x.dbSuppressMsg=true where "x" is your object name.

    That should do it. You might also want to check x.dbRecordCount after the
    call to see if any records were returned (i.e. no errors) and do your own
    custom error handling in that case.

    Thanks,
    John



    ------------
    Scott Hathaway at 10/30/01 2:15:04 PM


    When no records are found, we get this ugly error message. I want to not show any error message. I would like it to show the Titles of the columns and then just show no data in them. How can I do this?

    We are using aspdb.view.

    Thanks,
    Scott

Posting Permissions

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