Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_getTableByNum

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

This function returns the table handle that matches the given table number in the FROM clause of the SELECT query. Tables are numbered beginning at 0.

DAM_HTABLE damex_getTableByNum(
    DAM_HQUERY  hquery, 
    int         iTableNum)

Parameters for damex_getTableByNum

Parameter Type Description
IN
hquery DAM_HQUERY The query handle.
iTableNum int The number of the table.
RETURN
DAM_HTABLE A handle to the table.
A NULL is returned if the table does not exist.
TitleResults for “How to create a CRG?”Also Available inAlert