This documentation is archived and is not being maintained.

'End' statement not valid 

The End keyword is used incorrectly or is inappropriate in the current context.

Error ID: BC30678

To correct this error

  1. Use End by itself to cause a procedure to lose scope.

  2. Use End with other keywords to terminate a block of code such as a structure or property.

See Also