MapInfo Pro

  • 1.  MapInfo V19 - Info Tool and Layout

    Posted 02-18-2022 10:01
    Hi,
    in earlier versions of MapInfo I was able to include the contents of the Info tool window as a frame in the layout window, but in the 64 bit version I seem unable to find a way to do this. Does anyone know if this is still possible? 
    Thanks for your time.
    Kind regards,
    Jon

    ------------------------------
    Jon Corkill
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: MapInfo V19 - Info Tool and Layout

    Employee
    Posted 02-22-2022 02:24
      |   view attached
    Hi Jon

    Check out the third answer in this thread: Smart Text in Layout Automation.

    The tool GetColumnValue can also get all the column names and values from a given table as a list where each value is separate with a new line character. This could be handy for getting all the values from a table onto the layout.

    Below you can see the result of using these two functions.
    The left column holds all the column names and the right all the column values.

    Here are the expressions from the SmartTexts:
    • $mb{ReadColumnNames("Selection", 1)}
    • $mb{ReadValues("Selection", 1, 1)}
    Here you can see the second SmartText in the layout

    I have attached the GetColumnValue tool below. Unzip the file and load the tool into MapInfo Pro. I'd also recommend setting it to autoload. For the SmartText to show any values, you need to select a record.

    Let us know how this works out for you.

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

    Attachment(s)

    zip
    GetColumnValue.zip   14 KB 1 version