skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getQueryNextResultValue
 

dam_getQueryNextResultValue

This method returns the next result value of the subquery. It is used by the IP to get the result values of the subquery.
object dam_getQueryNextResultValue(
int64 hquery,
out int piXoType,
out int piValLen,
out int piValStatus)
 
Table 175: Parameters for dam_getQueryNextResultValue 
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
Status of the method call:
DAM_SUCCESS – all data retrieved
DAM_NO_DATA_FOUND – reached end of the list.
DAM_FAILURE – error in getting the data. Most likely the data cannot be converted to the requested XO_Type.
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.