Visual FoxPro 9.0
"name" can only be used within a method (Error 1929)
One of the following commands was used outside of a method: THIS, THISFORM, or THISFORMSET.
You used the statement in a procedure, but it can only be used within a method.
command into the appropriate method.
about this topic to Microsoft. В© Microsoft Corporation. All rights reserved.