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
Printable View
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
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