>>During the DE.Init of my form I check for the existance of a table. If it doesn't exist I issue a message stating that the file doesn't exist. At this point I want to stop instantiation of the form. How do I do this? >Colin, > >You can't stop the form there but you can check for the table having been openned in the form's Load with; > > IF NOT USED("") > RETURN .F. > ENDIF
Thanks for the reply Jim and everyone else. I went with Jim's suggestion to use the Load event instead of Init. If I return .F. from the forms Load event the DE never gets processed.
Colin Magee Team Leader, Systems Development Metroland Media Group Ltd. Mississauga, Ontario, Canada