d (Dependent Value) Processing Code

The d processing code defines the dependent attribute in a control/dependent pair of correlated MultiValues; the controlling attribute must contain a c code. The attribute count specified in the attribute count parameter must contain the c code and attribute count of the controlling attribute. Note that this function belongs in attribute 4 of the item.

System Processors

Select, Update, List

Code Type

Attribute Defining

Dictionary Attributes

Structure

Syntax

d;ac

Parameter(s)

ac

Specifies the attribute count of the controlling attribute.

Example(s)

In the example above, order# is the controlling attribute and controls the values in attributes 4, 5, and 6. Each of these three controlled attributes must indicate in their corresponding attribute-defining items that they are dependent upon attribute 3.

id:

order#

quantity

price

ext.price

001

a

a

a

a

002

3

4

5

6

003

 

 

 

 

004

c;4;5;6

d;3

d;3

d;3

See Also

c (Controlling) Processing Code, output-conversion, Processing Codes Overview, Processing Codes