Maybe you need to  make your table mappable before using this update command.

Go to Table > Maintenance > Table Structure, Check Mappable and select the projection 
you want.

It might also be a good idea to specify the projection before creating the points, 
unless you are using a newer version of MapInfo (7.0, 7.5 or 7.8) were you have 
specified the correct session projection.

You can specify the projection in this way:

Set CoordSys Table Tampa_plots1

Of course this requires that the coordinates in your table are in the same projection 
as the table

Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 7:36 PM
To: MapInfo-L (E-mail)
Subject: MI-L Create points


I am trying to create points, my table has xcoords and
ycoords. This is the code I am using
Update Tampa_plots1
Set obj = CreatePoint ( xcoord,ycoord)

I get an error saying it field obj does not exists

Can some one help
Thanks

=====



                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, 
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13299



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13302

Reply via email to