Issue: Calling set map redraw off
in MapBasic when all open tables are minimized (when none are open in a Map window) causes an error message: "Invalid window identifier."
The following example of this opens a table named WORLD.tab
, and then minimizes the open table (using Map from with the min clause).
Open Table "C:\Introductory Data\World\WORLD.tab" interactive
Map from WORLD.tab min
Set map redraw off
Fix: This is a known issue and there is no workaround. You must have a Map window open to use set map redraw off
.