Thanks to those who responded to my post on Feb. 4.
I'm wondering why the responses came to me via e-mail,
rather than being posted to the group, so others might
find help also with this type of problem. But I 
appreciate the help, regardless of how it comes to me.

Apparently I didn't explain clearly enough what exactly
I want to do. I want to be able to do, programatically,
what I can do interactively in MapInfo. In MapInfo, with
MYFILE editable, I can double click on the region object
(only one object in the file), which brings up the region
object dialog, where I can type in new values for "Center X"
and "Center Y".

I would like to update a region object's centroid x-y coordinates 
on the fly, from values saved to variables.

Scenario:
dim xcoord as float
dim ycoord as float
xcoord=-118.007028
ycoord=33.843899

update myfile
set obj ?????

I want to do this as part of a MapBasic program, but have been trying to
do it first in the MapBasic window. I have been unable to use the update
command to accomplish the task. I get syntax error type messages, no
matter how I try to do it. Can anyone help with this?

Thanks in advance
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to