>I know I've seen reference to how to loop through all open forms and close them, but I can't find the right words to search it and get any results. Anybody of a reference to that?
>
>Thanks
>
>Kirk
lnFormToClose = 1
FOR lnForm = 1 TO _screen.FormCount
IF TYPE("_screen.Forms(lnFormToClose).Name") == "C"
IF _screen.Forms(lnFormToClose).Baseclass == "Form"
_screen.Forms(lnFormToClose).Release()
ELSE
lnFormToClose = lnFormToClose + 1
ENDIF
ENDIF
NEXT
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.