I write a code pack all table in Map Window, after pack all table, some tables are removed from map window,

How do I known which table is pack, and open table to map window in the order as original layer.

  • Before packing the tables, you could get a list of all tables in the map window and add them back after packing. – Fezter Dec 7 '13 at 11:39
  • Thank you. But can open table sort in order as first, or only open tables was packed. And print message table was packed – TRI ÂN Dec 7 '13 at 18:04

You can compaire the number of rows before and after pack of table

Print "Before: " + TableInfo("MyTable", TAB_INFO_NROWS)
'Pack table here
Print "After: " + TableInfo("MyTable", TAB_INFO_NROWS)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.