Are you sure it is the init method of the
form you're looking at???
>I have a form that is called from other forms. It is called to perform a task that may not be possible with the given incoming parameter.
>
>In the Init method of the form, I want to check to see if the task is possible, and, if it is not, present a message to that effect, and abort the form.
>
>However, I can't find a way to abort the form. Instead it opens, and the user must click my Cancel button to close it.
>
>How can I prevent a form from running from the Init method?
>
>Thanks in advance for your help.
>
>Jim
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.