Hello Greg, Try something along these lines:
update mytable set mycolour = StyleAttr( objectinfo(Obj,OBJ_INFO_BRUSH ), BRUSH_FORECOLOR ) (untested) You will have to look up the constants in the mapbasic.def file. Kind regards Uffe Kousgaard www.routeware.dk ----- Original Message ----- From: "Greg Phillips" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 5:38 PM Subject: MI-L Hi all - I have a knotty problem. Hi all - I have a knotty problem. I have a dataset that I am processing some queries on, and have noticed that some of the polygons have been colour coded, however the colours do not relate to an attribute on the table, and i need to select on their coded status. Now i think the answer to this is No, but is there any way to capture an attribute to a new column based only on the present colour of a polygon? Cheers in advance for any help Greg --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11063
