sure can, you have to tweak the workspace. Open it up in WordPad, when you
open workspaces to edit the open file dialog needs to be Of File type .txt,
in the file name section replace *.txt with *.wor, hit ok, then the list of
workspaces is available to you.  Search and Replace the Table name, replace
with the wording you want in layer control (alias). The first instance of
the table name is to be ignored, that is in the Open Table section.  The
next occurrence is to be replaced, and all remaining occurrences.  I tested
this out on my Parcels Table in my Zoning.WOR workspace.  I will have
Parcels.TAB show up in layer control as Land, the lines replaced looked like
this:

Open Table "Z:\MAPINFO\UNIONTWP\Parcels" As LAND Interactive

 Map From STRET_nm,CNTYRDTX,SECTNUMS,RIVERTXT,LAKETEXT,RIVERS,
  SECTCORN,LAKES,LAND,ROW

Notum Beni - this name will also show up in all pull downs such as found in
SQL, Find, Close Table, update etc.  If you have saved queries with the
table name instead of the alias they will not execute. For example "select *
from Parcels" is a no go, "select* from Land" works

William "Woody" Woodruff
Zoning Administrator
Charter Township of Union, Isabella County, Michigan
-84.80947000 43.61095100
2010 S Lincoln Rd, Mt. Pleasant, MI  48858
(989) 772 4600 EXT 41 - FAX (989) 773 1988
Visit our web site at http://www.geocities.com/ctuzoning/index.htm



-----Original Message-----
From: Marsh, Stephen [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 3:21 AM
To: [email protected]
Subject: MI-L Customisation of Layer Control


Hello,



Can you help me? I am working with MapInfo Professional 7.0 and would like
to
know if it is possible to change the names of layers in the Layer Control. I
am writing some MapBasic script to automatically create thematic maps but
don't want to use the default thematic layer names.



Thanks,



Steve




============================================================================
==
NOTICE - This communication may contain confidential and privileged
information that is for the sole use of the intended recipient. Any viewing,
copying or distribution of, or reliance on this message by unintended
recipients is strictly prohibited. If you have received this message in
error, please notify us immediately by replying to the message and deleting
it from your computer.

============================================================================
==


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16997

Reply via email to