Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_describeVal

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

This method retrieves the description of the value.

Object damex_describeVal(
int64     hVal,
out int   piType,
out int   piXoType,
out int   piValLen,
out int64 phCol,
out int64 phquery)

Parameters for damex_describeVal

Parameter Type Description
IN    
hVal int64 The value handle.
OUT    
piType int The type of the value, which will be one of the following:
  • SQL_VAL_NULL
  • SQL_VAL_QUERY
  • SQL_VAL_COL
  • SQL_VAL_LITERAL
  • piXoType int The data type of the literal value. The value is contained in the Object returned by this method.
    piValLen int The length of the value
    phCol int64 The handle to the column value. Use damex_describeCol to get more details.
    phQuery int64 The handle to the query value. Use dam_getQueryFirstResultValue and dam_getQueryNextResultValue to get the values returned from the subquery.
    piValStatus int Status of the method call:DAM_SUCCESS – on successDAM_FAILURE – on failure
    RETURN    
      Object If piType is SQL_VAL_LITERAL, then an Object that represents the value of the literal. The format of the data depends on the type of the literal. See Table 34.

    See also

    TitleResults for “How to create a CRG?”Also Available inAlert