Lists the IDs of the current query conditions.
struct resbuf*
ade_qrylist();
Returns a list of the IDs of the current query conditions, or, if there is no current query, NULL.
You must release the resbuf.
The following sample populates a resbuf with query condition id's using ade_qrylist(). Those id's are displayed, and the resbuf, is released as required.
struct resbuf* pQueryCondIdsRb = ade_qrylist(); if (NULL != pQueryCondIdsRb){ struct resbuf* rb = pQueryCondIdsRb; while(NULL != rb) { acutPrintf( "\nThe following query condition id's have been detected: %.0lf" , rb->resval.rreal); rb = rb->rbnext; } } else { acutPrintf( "\nNo query conditions were returned for this project."); } acutRelRb(pQueryCondIdsRb);