Resolve issue with the OnError command not working via the MapBasic Window in MapInfo Pro

Products affected: MapInfo Pro™


The OnError command does not work via the MapBasic Window but does through a compiled MapBasic application.


This is a known restriction and is documented in the MapBasic Help Guide.


UPDATED: December 6, 2019
The OnError command can only be used in a compiled MapBasic application. This is basically working as designed.