thanks, but the point is if i have to go through each layer and input the name of the layer/table, then i might as well put that into a field and label from that.
-----Original Message----- From: Terry McDonnell [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 July 2004 6:39 PM To: [EMAIL PROTECTED] Subject: RE: MI-L label with layer/table name? Ash Presumably your table names are those of the routes? Right-click the map - layer control - choose the table - click the "label" button - from the "label with" combo choose "expression" - type in your table name (or whatever - choose the stop no., say, if you have it, instead of an expression). If you have open your MapBasic window (from options menu), you will see the code generated by your actions. Copy and paste it into your startup.wor (or whatever .wor you use) and your bus stops will have their labels. Include the code in a loop for all your different tables, substituting the table name, of course. HTH Terry McDonnell -----Original Message----- From: Simmonds, Ashley (DTUP) [mailto:[EMAIL PROTECTED] Sent: 08 July 2004 04:59 To: 'Mapinfo List (E-mail) ' (E-mail) Subject: MI-L label with layer/table name? i have hundreds of tables (bus routes) that i really couldn't be bothered going through to add their name to a field. just wondering if anyone knows if i can use the name of the layer/table in the label expression. cheers. ash --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12507 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 12528
