Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getColByNum

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

This function returns the column handle for the given column number in schema. The column number is based on the order they are defined in the OA_COLUMNS table of the schema database (refer to Schema Definition and Management in the OpenAccess SDK Programmer's Guide). Column numbers start from 0.

DAM_HCOL dam_getColByNum(
    DAM_HSTMT  hstmt, 
    int        iColumn)

Parameters for dam_getColByNum

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
iColumn int The column number in the schema. Numbers start from 0.
RETURN
DAM_HCOL The handle to the specified column. A NULL is returned if the column does not exist.
TitleResults for “How to create a CRG?”Also Available inAlert