Hi,
You just need to update the select afterwards to reflect the changes to the
table after you have done the Alter Object then Put:-
update Accepted set obj = VarObj
This should work
Regards
Martin
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 4:09 PM
Subject: MI-L Changing Line Styles
> I have been trying to create a small MapBasic program to alter the line
> styles in a table based on a selection.
> Everything seems to be OK as far as the selection and setting up the style
> but I can not get the darn things to change.
> I am sure it is something really stupid that I am missing.
>
> Please help the village Idiot!
>
> here is the code............
>
>
>
> dim VarObj as Object
> dim p_Accepted as Pen
> p_Accepted = MakePen(2,2,65280)
>
> Map From PowellBill
> Select * from PowellBill where Status = "ACCEPTED" into Accepted
> VarObj = Accepted.obj
> Alter Object VarObj
> Info OBJ_INFO_PEN, p_Accepted
>
>
>
>
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
>
~~~~~~~~~~~~ List Sponsor ~~~~~~~~~~~~
10 PARTNERS - ONE BIG EVENT
The industry�s biggest players have joined forces. See why EarthWatch, LAND
INFO, ERDAS, Kodak, Hitachi Global Software Technology, Imagelinks, Landata,
Pixxures, Research Systems, and Trimble are so excited they�re giving away
over $5,000 in prizes.
http://www.digitalglobe.com/forms/survey.jsp?form=esri_survey.xml&source=directions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.