Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_describeLogicExp

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

This method gets the description of a logical expression.

int damex_describeLogicExp(
    long   hLogExp,
    xo_int piType,
    long   phLeftLogExp,
    long   phRightLogExp,
    long   phCond)

Parameters for damex_describeLogicExp

Parameter Type Description
INPUT
hLogExp long The logical expression handle.
OUTPUT
piType xo_int The type of the logical expression:
SQL_EXP_COND - simple condition
SQL_EXP_AND - AND expression
SQL_EXP_OR - OR expression
SQL_EXP_NOT - NOT expression
phLeftLogExp long The handle to the left logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR, SQL_EXP_NOT.
phRightLogExp long The handle to the right logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR.
phCond long The handle to the condition. This value is set when the type of the input logical expression is SQL_EXP_COND.
RETURN
int DAM_SUCCESS - on success
DAM_FAILURE - on failure
TitleResults for “How to create a CRG?”Also Available inAlert