Peter,
Once you release form[1], form[2] becomes form[1] and son on. Your index increments to 2 whch releases what was form[3]. Use just the number 1 as your index in the release instead of i.
>I am using the _screen.forms(x).release() method as a way of releasing forms, and I am having some problems. I am using DO FORM and I end up with 4 or 5 forms open and I am using this code to release the forms, to basically return to the top form:
>
>FOR x = 1 TO _screen.formcount-1 && don't release the top form
> _screen.Forms(x).release()
>ENDFOR
>
>It always leaves 2 or 3 forms open, and formcount is either 4 or 5. So it is closing some and not others. Any ideas?