Franco P. Peta" <[EMAIL PROTECTED]> wrote:

> I can't remember the command for getting the text style or in general =
> the styles for each record.

> I have a table that have polygons, lines and text. I will like to =
> generate a new column with some sort of indication of the object type, =
> so as to check each text and line. The final table must be only of =
> polygons...

To populate an attribute column with the object style, use

alter Table "mytable" (add mynewcolumn Char(20) ) Interactive
Update mytable Set mynewcolumn = str$(obj)

To select all datasets with polygons use:

select * from mytable where str$(obj) = "Polyline"

Have a look also at Jacques Paris's Paper  "Selecting objects using
their
characteristics", http://www.paris-pc-gis.com/mb_r/doc/doc_start.htm.

-- 
Mit freundlichen Gr��en / Best regards / Cordialement
i.A.

Franz-Josef Behr

------------------------------------------------------------------------
We all learn by sharing what we know... (R. DiBlasi)

Dr. Franz-Josef Behr                 Phone: ++49 / 7243 / 5641-20
GIS-Consultant                       Fax:   ++49 / 7243 / 5641-99
Graphservice GmbH                    EMail: [EMAIL PROTECTED]
Im Ermlisgrund 18                    D-76337 Waldbronn
Author of: Strategisches GIS-Management - http://www.gis-management.de
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de  [EMAIL PROTECTED]



_______________________________________________________________________
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.

Reply via email to