Article ID: 175682
Article Last Modified on 8/6/1999
175625 FILE: Use Topclose.exe to Close Child Forms Of Top-Level Forms
DO WHILE _Screen.ActiveForm.Caption != "Good Top-Level Form"
and replace it with the following two lines of code:
FOR x=1 TO xx
IF _SCREEN.FORMS(x).CAPTION != "Good Top-Level Form"
The variable xx is already setup at the beginning of the QueryUnload
code to contain _Screen.FormCount. At the end of the DO WHILE loop,
remark out the following line of code:
ENDDO
and replace it with the following two lines of code:
ENDIF
ENDFOR
Keywords: kberrmsg kbprb kbpending KB175682