I created objects dynamically and before releasing the form I want to delete those objects.
I thought the following would work but it didn't
FOR nI = 1 TO thisform.nTotOnScreen
cNameObjet = 'cmdIdPersonn' + RIGHT( '000' + ALLTRIM( STR( nI)),4)
cObjet = 'thisform.' + cNameObjet
&cObjet = .null.
RELEASE &cObjet
ENDFOR
How should I proceed?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé