MapInfo Pro

 View Only
  • 1.  Determine, NativeX Format vs Native

    Posted 11-03-2021 23:32
    Hi MIP Pro users, 

    Can anyone please assist, how you can review a tab file and determine if it is a Native OR NativeX format? Both have the same file extension *.tab

    We work a lot with NativeX as out default (due to file sizes). And, Datamine, Discover, does not offering support for some tools with NativeX format. We have to convert back to Native (if its not no large), otherwise we are stuck with NativeX

    Issue, distinguishing file format as Native vs NativeX format, so we can work with in Datamine, Discover tools

    Cheers

    ------------------------------
    Mike Woodbury
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: Determine, NativeX Format vs Native

    Employee
    Posted 11-04-2021 05:58
    Hi Mike

    We don't seem to write that anywhere in the interface.

    You can query this using a small script like below:
    Dim sTab As String
    sTab = "Planning_Zones"
    Print sTab + ", table format: " + IIf(TableInfo(sTab, TAB_INFO_DATA_FORMAT)=5, "Native", IIf(TableInfo(sTab, TAB_INFO_DATA_FORMAT)=14, "NativeX", "Other"))

    You need to change the table name from "Planning_Zones" to your table name.
    This could be wrapped into a script you can run from the SQL dropdown asking you to pick a table.
    The question is whether you just want to know this for a single table at a time or for all open tables?

    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 3.  RE: Determine, NativeX Format vs Native

    Employee
    Posted 11-05-2021 08:13
    Table Manager tool (Provided with MIPro) will tell you this along with other properties.

    ------------------------------
    Bill Wemple
    Principal Software Engineer, Quality Management
    Precisely, Inc
    precisely.com
    ------------------------------



  • 4.  RE: Determine, NativeX Format vs Native

    Posted 11-05-2021 09:36
    Seems this should have been implemented with a new extension of TABX…

    ------------------------------
    Steve Wallace
    Florida Farm Bureau Insurance
    ------------------------------



  • 5.  RE: Determine, NativeX Format vs Native

    Posted 11-05-2021 09:47

    Hello Mike,

     

    A few methods have been discussed and there's also a clue in the TAB file itself if you open it as a text file.

     

      Type NATIVE Charset "WindowsLatin1"

    or

      Type NATIVEX Charset "WindowsLatin1" Locale "en-GB"

     

    I would imagine, however, than none of these methods are helpful in managing a mixture of TAB and TAB Extended file sets. My only suggestion is to use folder names (or file names) to determine whether it's a TAB or TABX, so that users with 32-bit Pro, or other software that cannot handle TABX yet, can know there's no point in even trying to open it!

     

    Regards,

    Warren Vick