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 function is used to retrieve the description of a logical expression.

int damex_describeLogicExp(
    DAM_HLOGEXP    hLogExp,
    int         *  piType, 
    DAM_HLOGEXP *  phLeftLogExp,
    DAM_HLOGEXP *  phRightLogExp,
    DAM_HCOND   *  phCond)

Parameters for damex_describeLogicExp

Parameter Type Description
IN
hLogExp DAM_HLOGEXP The logical expression handle.
piType int * 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
  • OUT
    phLeftLogExp DAM_HLOGEXP * 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 DAM_HLOGEXP * 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 DAM_HCOND * 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