Hi Blair,
To make the distance and area functions default to kilometers issue the following
two commands before running your SQL statement:
Set Distance Units "km"
Set Area Units "sq km"
To run these commands automatically every time you start MapInfo, put them in
a workspace called StartUp.wor in your MapInfo directory (The directory where
MapInfow.EXE is located).
Although these commands change the defaults for functions it won't unfortunately
change the default units of a mapper.
Hope this helps.
Regards,
Sue.
++++++++++++++++++++++++++++++++++++++++
adding Susan Port
value Technical Support Coordinator
to [EMAIL PROTECTED]
your
spatial Spatial Plus
systems http://www.spatialplus.com
++++++++++++++++++++++++++++++++++++++++
>Hi:
>As a follow-up to this issue, whenever I use a function command in MapInfo
>involving a distance, the default is always miles even with metric set as
>the default. For example, using ObjectLen(obj,"mi") or Area(obj,"sq mi") I
>have to go in and edit the "mi" to "km".
>It may be only a few steps each time but it is kind of annoying.
>Is there anyway to go in and change the functions so that "km" is the
>default for myself and the rest of the metric world?
>
>Blair Allen
>Transportation Planner
>Kitchener Transit
>
> ----------
> From: John Musolino[SMTP:[EMAIL PROTECTED]]
> Sent: August 27, 1999 5:44 PM
> To: Swayze, Natalie: WPG
> Cc: [EMAIL PROTECTED]
> Subject: Re: MI default units
>
>
>
> >Is there a way to permanently set and save the distance units that
> >MI uses so it doesn't have to be changed in the options menu each
> >time the program is opened? Presently the units always default to
> >miles and I would like to change this to kilometers.
>
> Under the Options menu, select Preferences. Click on the Map Window
> button. On
> the lower left half of the "Map Window Preferences" box, there are a
> series of
> choices - check the "Metric Distance and Area Units" box,and you should
> get KM.
>
>
> John Musolino
> Newsday
> Advertising Resources Administrator
>
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]