Creating your own table data handler function
Your table can share the default table data handler or you can create your own function. The simplest method of creating a table data handler is to copy one of the following example functions
Tables where the data is stored in the shipped generic table data file (FPTAB) can share the default table data handler UF_SYSBR/UFU0010, or use their own version of it.
Tables where the data is stored in an application's physical file can create their own table data handler function. See the data handler function UF_SYSBR/UFU0011 for an example. This function reads and writes data from/to file DEPTAB, for the table DEPTAB.
Tables where the data comes from hard coding in the table data handler function can create their own table data handler function. See the data handler UF_SYSBR/UFU0012 for an example of this type of data handler. It supplies the data for the SEX Table.
Tables can also get their data from a flat file, using a table data handler function similar to UF_SYSBR/UFU0013, provided the end-user is running the Windows Framework and has access to the flat file.
Table data handler functions may or may not allow data to be updated. UFU0012 and UFU0013 are examples of table data handler functions that supply table data but will not store edited table data.