One of the following commands was used outside of a method: THIS, THISFORM, or THISFORMSET.
Move the THIS, THISFORM, or THISFORMSET command into the appropriate method.