Hello, 
 
I am trying to create points on a currently open window by reading the X, Y locations (Easting and Northing) from an already open table.
I have made a selection of the columns containing the Eastings and Northings.  I tried using the Fetch command to retrieve values and plug the selection into the Create Point function.  Does not seem to work. 
Please Help!
 
Here is my code:
 

sTable = Tableinfo(readcontrolvalue(tables_id), TAB_INFO_NAME)

i = 0
Select NAD_83_Easting,Northing From sTable

Fetch First From selection
Do While Not EOT(selection)
i = i + 1

Create Point
Into window check_window
(selection.col1, selection.col2)
Symbol sSymbol

Fetch Next From selection

Loop

 

Thanks,
Marko Cucnik
BCIT Practicum Student

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to