CheckByInValues

concerns

The CheckByInValues attribute function checks a decision table outside the default rule check. The function can be called meaningfully for bound and partbound decision tables.

 

Syntax

CheckByInValues(ByVal InValue1[, ByVal InValue2[,...]])

Return value

Type

Description

Boolean

True if the check found a hit in the table.

Parameter

Use

Name

Type

Passing

Description

Required

InValue1… n

Variant

ByVal

Values for the inbound columns of the decision table.

The values are entered from left to right in the decision table.

 

Example:

There is a decision table DT_Price in a class:

The decision table DT_Price has two input columns without binding and one output column with binding to the price variable.

The check is preformed by the characteristics of color and class name, whose possible value combinations are entered in the table.

If the return value is True, the result of the field of the first output column of the found row is assigned to the bound variable Price.

 

Dim Success As Boolean

 

If ENTA_Preis.CheckByInValues(Ausführung, Farbe) = False Then

   Success := False

Else

   Success := True

End If