A portion of the statement is either missing or misplaced. Check for a mismatched use of IF вЂ¦ ENDIF within another control statement.
The following example fails because ENDIF is placed within the DO CASE....ENDCASE statement.
В В В DO CASE
В В В В В В CASE .T.
В В В ENDCASE
For more information about executing commands conditionally, see the IF ... ENDIF Command.