Creating Your Own Table Data Handler Reusable Part

Visual LANSA Framework

Creating Your Own Table Data Handler Reusable Part

A reusable part code table data handler can source data from any source that a data handler function can, and if it is enabled for RDMLX, it can process Unicode  table fields.

A Framework code table can use the default reusable part data handler, UF_TDH01, or use a custom data handler. If UF_TDH01 is used as a table’s data handler, data will be written and read from the shipped VLF Code Table files FPTAB (main data file) and FPTABU (Unicode value file).

If a custom data handler reusable part is created, it must extend VF_AC024, the Table Data Handler ancestor class, and redefine the methods included in the ancestor class. The default behaviour can be optionally included by calling the ancestor methods in the redefined methods first. See comments in UF_TDH01 for more details.

See Code Table Definition/ Reusable Part Data Handler (ID) and Code Table Definition/ Use a Reusable Part.