Declaration

class procedure SetupField(aType: TnxFieldType; var aUnits: Integer; var aDecPl: Integer; var aRequired: Boolean; out aLength: Integer); virtual;

 
Description

This function returns the correct values for the various field types.

 
Parameters

aType: TnxFieldType

the Field type you need the values for

var aUnits: Integer

the units wanted/needed for the given field type. Will be changed if invalid!

var aDecPl: Integer

the number of decimal places wanted. Will be changed if invalid!

var aRequired: Boolean

set to true if you want the field to be required. Will be changed if invalid!

out aLength: Integer

this will be the length in bytes needed for this field.

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxFieldDescriptor