Thanks to Gordon for the plug - perhaps I could start carrying advertising :�).
The advantage of using a single statement to map from your layers is performance - if you Add Map for each layer it will redraw each time - unless you set redraw off, of course. With a small number of layers either route will work fine. Paul Crisp Syntegra Direct: 0191 461 4522 Mobile: 0776 414 3762 Fax: (0191) 461 1959 Innovation Place Metro Riverside Park Delta Bank Road Gateshead Tyne & Wear NE11 9DJ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 11 October 2001 13:51 To: [EMAIL PROTECTED] Subject: MI-L RE: MapBasic - Opening Files - SUM Hi again folks, Thanks for the speedy response on this one! Couple of suggestions for the solution to my problem: Mike Lynch suggested altering my code to use Map From for the first layer then Add Map for subsequent layers. Tried this first and it worked great! Paul Crisp and Jacques Paris both suggested similar solutions. Basically building up a string which contained the names of the layers then using this to do a Map From statement. Laurence Seeff sugested using Map From s_tablename View Automatic instead of Map >From s_tablename. Since the first suggestion worked I'll stick with it for now but I'll give the others a try when I get a chance. Thanks again Gordon Stenhouse ________________________________________ North of Scotland Water Authority http://www.noswa.co.uk Telephone: 0845 743 7437 NOTE: Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. This e-mail and any attachments are believed to be virus free but no responsibility is accepted for loss or damage arising in any way from receipt or use thereof. Opinions, conclusions and other information in this message that do not relate to the official business of the North of Scotland Water Authority shall be understood as neither given nor endorsed by it. _______________________________________________________________________ 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. ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ******************************************************************** _______________________________________________________________________ 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.
