dam_getQueryFirstResultValue
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method returns the first result value of the subquery. It is used by the IP to get the result values of the subquery.
object dam_getQueryFirstResultValue(
int64 hquery,
out int piXoType,
out int piValLen,
out int piValStatus)
Parameters for dam_getQueryFirstResultValue
| Parameter | Type | Description |
| IN | ||
| hquery | int64 | The subquery handle |
| OUT | ||
| piXoType | int | The data type of the result value |
| piValLen | int | The length of the data returned in the object: XO_NULL_DATA – null data XO_NTS – null terminated string >= 0 – length of the data |
| piValStatus | int | The status of the method call: DAM_SUCCESS – all data retrieved DAM_NO_DATA_FOUND – no results are available. Result set is empty. DAM_FAILURE – error in getting the data. Most likely the data cannot be converted to the XO_Type asked for. |
| RETURN | ||
| object | The object that represents the result value. The format of the data depends on the data type returned in piXoType. Use this object only if the piValLen is not set to XO_NULL_DATA. See Table 34. |