Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DCS columnNameInUse

From Catglobe Wiki


DCS_columnNameInUse

Returns true if any column in the current DCS context exists with the name passed as argument to the function, and false otherwise.

Syntax

DCS_columnNameInUse(name)

Arguments

name: Is a string expression. It is name of the DCS column to look up.

Return type

bool

Examples

string customClumnName = "Satisfaction_counselor";

bool exist = DCS_columnNameInUse(customClumnName);

if (exist) print("Custom column \"" + customClumnName + "\" existed.");

else print("Custom column \"" + customClumnName + "\" does not exist.");

//Result: Custom column "Satisfaction_counselor" existed.

Availability

Version 5.5