Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getFirstCond

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

This function is used to navigate through the conditions in the condition list. It gets the first condition in the search or restriction list. Use the function dam_getNextCond to go through the list.

DAM_HCOND dam_getFirstCond(
    DAM_HSTMT      hstmt, 
    DAM_HCONDLIST  hlist)

Parameters for dam_getFirstCond

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
hlist DAM_HCONDLIST Either the search or the restriction condition list.
RETURN
DAM_HCOND The first condition. A NULL is returned if the list is empty.

See also

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