Joe,
Return .f. in the init() of the form to prevent the form from loading.
>Hi there,
>
>I'm working on an application written in VFP 5.0 and am verifying the existence of database records in the INIT procedure of a form. If any of the necessary records don't exist, I would like the form to close and focus returned back to the calling form. Is there a simple call to do this?
>
>Thanks for your help,
>
>Joe
Steve Gibson