lunchbox88
Programmer
Hey all.
I'm getting a runtime error when trying to go to a page and there is no record in the database.
I'll see if I can explain at all. User logs in and is shown a list of their accounts (works great). User can then select an account to view (also works great). User can then click a HyperLink and view the history on that account. This is where I'm having problems. It passes the account number to the View History page. If there is a record in the History Table, it works great. If there isn't, it gives me a runtime error. I've got the filling of the dataset in a try-catch block, but it still gives me a runtime error. Any ideas as to how to fix this? Does this even make sense?
Thanks in advance!
I'm getting a runtime error when trying to go to a page and there is no record in the database.
I'll see if I can explain at all. User logs in and is shown a list of their accounts (works great). User can then select an account to view (also works great). User can then click a HyperLink and view the history on that account. This is where I'm having problems. It passes the account number to the View History page. If there is a record in the History Table, it works great. If there isn't, it gives me a runtime error. I've got the filling of the dataset in a try-catch block, but it still gives me a runtime error. Any ideas as to how to fix this? Does this even make sense?
Thanks in advance!