[GIS] How to select nth row in mapbasic

mapbasicmapinfo

There are multiple rows in my .tab file in mapinfo. Is there any way to select nth row in mapbasic window of mapinfo?

Best Answer

Select * from 'table' Where RowID = n

If you want it into a selection table of your choice, put the selection into somename, then browse * from somename If not, just Browse from selection

edit

This is all from memory, so please play about and also read the online reference manual:

MapBasic Ref

MapInfo -L

Related Question