GetCodeColor Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetCodeColor() method retrieves the color value from the "color" field of the specified database table name, field name of an integer field in that table, and integer value for that field.
Parameters
- table
- Required. Holds the name of the database table.
- field
- Required. Holds the name of the integer field in the database table.
- code
- Required. Holds the integer value for the specified field. The color from the row whose value in this field matches this specified value is returned.
Return Value
Returns the color value from the record in the specified
table whose value in the specified field matches the
specified value.