Hey Mapinfo Community
I am new to Mapinfo and am hoping to automate the text details in a title of a layout.
My goal is to display the attribute information of column of a tab.
A bit of background. The purpose is, we are seeking the row information in a column within a table. We are working on property boundaries with Lot and Plan information.
So the process is; we select the single lot as a selection and create a layer from the selection. The good thing about this is it will return a single row of attributes in a table historically titled "Query1". We want to use a column within the table "Query1" named - Lot_Plan and grab the only attribute as the title of the figure by creating a smart text script to call the information of attribute in a table.
The title we want with a smart text line is something like
234SP12345678 (an example of the information within the column Lot_plan)
So far we have a script that reads
$mb{ColumnInfo(LayerInfo(LayoutItemWinID(CurContext(1), "Map-1", 1),1,1),"COL3",1)}
--This script only returns the name of the column and not the attribute data in the row.
If someone can offer assistance on the correct script.
Further to this and more challenging would be how we could call the attribute data from multiple columns which would create an automated title such as "Lot
234 on plan
12345678 with a lot area of
245m
2 (in this example the bold numbers are the attributes taken from a table.)
------------------------------
David Cini
Knowledge Community Shared Account
------------------------------