James,
To keep a form from loading, you can return .f. in the forms init() method.
>Hi All,
>
>I have a form that depends on a data selection being made from another form. If the data selection does not exist I want to display a messge to the user then close the form. I've tried to put Form.Unload() and ThisForm.Release() in the init and load events but this does not seem to work.
>
>I'm pretty sure the solution is something simple that I'm just not seeing at present. Could somebody offer some suggestions.
>
>Aloha,
>
>James
Steve Gibson