Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_describeOrderByExp

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

This function is used to retrieve the description of the ORDER BY expression. Pass in NULL for any attributes you do not want.

int damex_describeOrderByexp(
    DAM_HVALEXP hValExp,
    int *       piResultColNum,
    int *       piSortOrder)

Parameters for damex_describeOrderByExp

Parameter Type Description
IN
hValExp DAM_HVALEXP ORDER BY value expression handle.
OUT
piResultColNum int * The result column number.
piSortOrder int * The sort order of the ORDER BY column:
SQL_ORDER_ASC
SQL_ORDER_DESC
RETURN
int DAM_SUCCESS - on success
DAM_FAILURE - on failure
TitleResults for “How to create a CRG?”Also Available inAlert