Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

does anyone know how to edit multiple tables at the same time? I have multiple .tab files and I want to change the order of the fields. Is there any way to do this for all of them at once. They all have identical table structures. I have both MapInfo and QGIS available to use.

Thanks, Alan

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Allan, One way of doing this in MapInfo Pro is by using the MapBasic Window:

1: Open the MapBasic window thru Options > Show MapBasic window

2: Change the order of the column of one of your tables thru Table > Maintenance > Table Structure

Now notice that the MapBasic statement for reordering your columns has been added to the MapBasic window.

3a. Change the name of the table in the statement to match the next table and hit Enter. This will reorder the columns of that table, too.

3b. Or change the name of the table in the statement to "TableInfo(1,1)". This will reorder the columns of the first table in the list of tables kept by MapInfo Pro.

Note that when you reorder or change the table structure of a table, the table is currently put to the end of this list. You can use this to reorder the structure of several tables, simply by hitting Enter for this statement as many times as you have tables that must be reordered.

share|improve this answer
    
Thank you Peter! –  Alan Carr Aug 20 '12 at 11:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.