Per row object styles lets you use different object styles on a remote database table, similar to what you can do with a native map table. You can modify styles on individual or groups of objects and save the styles to the DBMS table. Before you can use this feature, the DBMS table must be set up correctly.
To set up the DBMS table:
- The MapInfo_MapCatalog must contain the new columns, which control the use of styles. They are RENDITIONTYPE, RENDITIONCOLUMN, and RENDITIONTABLE.
If MapInfo EasyLoader created the MapInfo_MapCatalog, this was been done for you.
- The map table itself must have a character column wide enough to store the complete style string. Style strings vary in width. We recommend a minimum of 50 characters be provided, 200 characters if you plan to use custom symbols which use much longer strings.
- The entry for the table in the MapInfo_MapCatalog must be set correctly. This means that the RENDITIONTYPE is 1, and the RENDITIONCOLUMN contains the name of the column that will contain the style string. This entry is set by MapInfo EasyLoader when the MapInfo_MapCatalog contains the new columns, or it may be set using the Make Table Mappable function.