Hi Stefan!
That is easily done. Just update the TXT column with ObjectInfo(obj,3)
In the mapbasic window it will look like this:
Update mytable Set TXT = ObjectInfo(obj,3)
But be aware that this does not link the table column and the map text, it's a one time update only.
So edits in either entity will not reflect on the other.
A dynamic link from the map to the table can be created by adding a dynamic column to the browser, like ObjectInfo(Object, 3) "TXT_of_map" but that will not be editable from the browser.
Hälsning / Best regards Mats.E
________________________
FB Engineering AB
Södra Förstadsgatan 26
211 43 Malmö
Tel: 040-660 25 50
Mobil: 0705-27 60 27
Fax: 040-660 25 99
[EMAIL PROTECTED]
www.fbe.se
| Stefan Donath | Stradis
GmbH <[EMAIL PROTECTED]>
Sänt av: [EMAIL PROTECTED] 2006-06-26 10:31 |
|
Hello List,
I have a layer with text objects naming cities in my map. The table of
the layer has the columns ID, TYPE and TXT. The TXT column is empty and
I would like to fill it with the text from the text-object.
How do I do that??
Thanks for help.
Stefan.
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l
_______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
