Denis,
Try
ThisForm.Name = "Name_"+LTrim(Str(_Screen.FormCount+1))
Manoj
>VFP 7
>
>At runtime I want to change the name of a form.
>
>I tried by putting some code in the LOAD event of the form
>
>this.Name = "Name_" + str( _screen.formCount + 1)
>
>Why is'nt this working?