>IF VARTYPE(loForm)='O' > WITH loForm > * Set some properties here > > ENDWITH > > loForm.Show >ENDIF >You've cracked it! thisform.release works fine now. Looks like WITH..ENDWITH is ok for setting property values, but the show command should be prefixed with the object reference.