On the Loading event of a form, we are getting data from a SQL database and popping it in the form...
If data that the form is expecting, doesn't exist, the form throws an error (which we are gracefully catching.)
What I would like to accomplish is to catch this error, and switch views to a "You are not authorized" sort of view.
However, I cannot switch views in the Loading event.
My questions is, what event CAN I switch views in, that will occur once
the form loaded event completes?
Thanks,
Paul