I try to get data from table use MapBasic:
Dim nCol = "ColumnName"
Fetch First From Untitled
Do While Not EOT(Untitled)
colValue = Selection.nCol
Note colValue
Fetch Next From Untitled
Loop
Compilation ends success but when i start application in MapInfo get error:
Not defined Selection.nCol
How to work with columns in this case?