Skip to content

Export_Code_Description_State - dbGridDD

Determines if the next item will be used to display a code description

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iItem Integer

Syntax

Property Integer Export_Code_Description_State
Access Type Syntax
Read Access: Get Export_Code_Description_State to IntegerVariable
Write Access: Set Export_Code_Description_State to IntegerVariable/Value

Description

In the newer cDbCJGridColumn class, you can use Code_Display_Mode to display your choice of CodeMast information.

When Export_Code_Description_State is set to True for an item attached through a DataDictionary to a code list that includes a column for the descriptions of the codes, those descriptions can be displayed in the validation prompt object by use of an additional Entry_Item statement addressed to the Code_Description function of the prompt object, as follows:

Entry_Item OrderHea.Code
set Export_Code_Description_State Current to True
Entry_Item (Code_Description(Self))

Default is False.