Statement cannot appear within a method body
A procedure contains an invalid statement such as another procedure declaration. Procedure declarations cannot be nested.
Error ID: BC30289
To correct this error
- Remove the procedure declaration, or move it outside the enclosing procedure.