DATA MAPPING METHODS [ High-Level Screen Management Intrinsic Library (Hi-Li) Reference Manual ] MPE/iX 5.0 Documentation
High-Level Screen Management Intrinsic Library (Hi-Li) Reference Manual
Chapter 4 DATA MAPPING METHODS
This chapter documents the six ways in which you can map data that you
are moving between your application and the fields on a form. You
indicate how you want to map the data by the values you assign the
datadescrpt parameter of the HPDDSEND, HPDREAD, or HPDPRINTFORM
intrinsic.
How you choose to map data depends on whether you are moving some, all,
or none of the data, whether or not your application requires data type
conversions, and on any special run-time requirements your application
may have. The six mapping methods can be divided into three groups,
which are:
1. Transfer all or none of the data, or transfer a subset of the
data. Data methods A, B, and C, are examples of this kind of data
transfer. These methods do not perform type conversion: all data
is transferred as type CHAR.
2. Transfer data or a subset of data and provide data type conversion
within your application. Data methods D and E are examples of
this kind of data transfer.
3. Transfer data and perform data type conversions using an
Application-ready Buffer (ARB). ARBs are defined in forms files
and then compiled: they cannot be changed at run-time. Data
method F is an example of this kind of transfer. Each of the six
data mapping methods, A through F, are discussed below.
MPE/iX 5.0 Documentation