Navigation:  Classes > bDataColumn >

bDataColumn:ValueTransformList

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

List for transforming values.

Class

bDataColumn

Type

Access / Assign

Data Type

Array

Description

bDataColumn:ValueTransformList defines a transformation list with which values can be transformed into another value. The transformation list is a 2-dimensonal array. The first item contains the transformed value as string. The second item contains the original value.

 

With a transformation list short values (ID's) can be transformed into more understandable values. Instead of the short values the transformed values are displayed as column values.

Samples

The following sample defines a transformation list, with which the ValTypes are transformed into their long data type names.

 

oColumn:ValueTransformList := {;

                                {"STRING",  "C"},;

                                {"DATE",    "D"},;

                                {"LOGIC",   "L"},;

                                {"Numeric", "N"},;

                                {"Memo",    "M"};

                              }

 

The following sample defines a transformation list, with that the ID's for customer appellation are transformed.

 

oColumn:ValueTransformList := {;

                                {"Herr",  1},;

                                {"Frau",  2},;

                                {"Firma", 3};

                              }

See Also

bDataColumn:TextValue

bDataColumn:Transform()

bSample - Edit

 


Page url: http://www.YOURSERVER.com/index.html?bdatacolumn_valuetransformlist.htm