Hi Declan Yes - you can do this with ObjectInfo. Not only will ObjectInfo tell you what object type is, if the object type is text it will tell you what the text is. So you could use Select where ObjectInfo(Obj,OBJ_INFO_TYPE) = OBJ_TYPE_TEXT into DECLAN then Update Table DECLAN and set your new field to ObjectInfo(Obj,OBJ_INFO_TEXTSTRING) If you use mapbasic include "mapbasic.def" If you do the above in MapInfo then use the numbers instead as below. OBJ_INFO_TYPE = 1 OBJ_TYPE_TEXT = 10 OBJ_INFO_TEXTSTRING = 3 HTH ! (Hope this helps) Regards Bob In message <l03102802b45264351013@[209.112.158.30]>, Declan Troy <[EMAIL PROTECTED]> writes >Mappers, > >In the last few days there has been a bit of a flurry of questions about >text: how to select text objects, or selecting text in fields. I have a >variant not addressed yet.... > >Is there an easy way to transfer the text of a text object into a field? >I'd like to, for example, be able to use the update column command to take >whatever infomation in in a text object and move it into a field associated >with the object. Is there a variable associated with each object that >contains this information? Any ideas?? > >Declan > > >---------------------------------------------------------------------- >To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put >"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- Bob Young - www.bydesignwales.demon.co.uk ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
Re: MI: Getting Text From Text Object
Bob Young - www.bydesignwales.demon.co.uk Sun, 14 Nov 1999 17:49:37 -0800
- MI: Getting Text From Text Objec... Declan Troy
- Bob Young - www.bydesignwales.demon.co.uk
