>I have a view that has a prameter. The user gets prompted to put in the value and press OK, but there is also a cancel button. When the user presses this it generates an error that causes my application to abort (basically generate an errorlog entry and quit). Is there a way I can use a parameterized view without a cancel button coming up or does anyone have any ideas on how to trap the error that the cancel button causes before my error trapping routines kick in. Any help would be appreciated.
Bret,
The others have given you some good ideas of how to avoid the problem. However, if you want to continue to use the native parameter dialog, then you will need to check after the dialog to if the view was created or has any data before you allow your code to continue.
The problem here is that your code continues assuming that the view now exists and it may not.