Juan

Are there many tables with similar names, maybe with a numeric increment in 
them, such as:

F13D66E1C3_P3M_MANZ
F13D66E1C3_P4M_MANZ
F13D66E1C3_P5M_MANZ
...? (same with source tables)

If so you could build up the table names in code and put the whole thing in a 
loop.  E.g

For I = 1 to 266
  lcDestTable = "F13D66E1C3_P" + Rtrim$( VAL( I)) + "M_MANTZ"
  For J = 1 to lnNumSourceTables
    lcSourceTable = ...
'   Build up the source table name in a similar manner
    Insert Into lcDestTable  ( COL1) Select COL1 From lcSourceTable
  End For
End For

Bit simplified but I hope you get the drift.  This is based upon an assumption 
as you haven't given us any more to go on.

HTH

Terry McDonnell

-----Original Message-----
From: Juan José Del Toro Madrueño [mailto:[EMAIL PROTECTED] 
Sent: 07 October 2005 05:58
To: Terry McDonnell
Subject: MI-L too many maps into 1 map

Dear Friends;

 

I once again come to you asking for help, this time I have 266 AutoCAD DWG Maps 
that I have imported into TAB format and now I have 6,156

Maps, most of them had several layers; I would like to have one map per layer 
of the 266 original maps; I can do this manually by 

Doing this

Insert Into F13D66E1C3_P3M_MANZ ( COL1) Select COL1 From F13D55E4B3_P3M_MANZ

But do you know of a MapBasic programme that would do this automatically? I am 
using MapBasic 3.0

 

Thanks for everything once again

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

Reply via email to