Field GetDbValue() Method

Gets the field's internal value as it is currently stored in the database.

Function Signature

 void GetDbValue(Variant& val)

Parameters

Parameter Type Description

val

Variant&

(Output) The internal database ID for the value. For Text fields, this is the exact value entered in the field. The Variant must be created before being passed to this function.

Return

Type Description

None

Technical Details

SBM ModScript version: 11.3.

Notes

The value does not reflect any changes that are waiting to be stored, such as editing that has occurred on a transition form. When an Update() executes, this value is recorded in the change history as the "prior" value. To get the current value reflecting all changes, use the GetValue() method.

Related Topics

Field