T
Tore Gylver
I have a windows form bound to a dataset. Data is loaded
into the the forms dataset in the forms load event.
Depending on the data loaded there are cases where I dont
want to open the form but rather give the operator a
warning message, then close the form so that it is not at
all visible for the operator.
I do this with a msgbox followed by me.close in the form
load event, but the me.close then gives an exception.
How can I prevent the form from opening? And I do want to
close the form, not only hide it.
Regards
Tore Gylver
into the the forms dataset in the forms load event.
Depending on the data loaded there are cases where I dont
want to open the form but rather give the operator a
warning message, then close the form so that it is not at
all visible for the operator.
I do this with a msgbox followed by me.close in the form
load event, but the me.close then gives an exception.
How can I prevent the form from opening? And I do want to
close the form, not only hide it.
Regards
Tore Gylver