LlPrintDbGetCurrentTable

Syntax:

INT LlPrintDbGetCurrentTable(HLLJOB hJob, LPTSTR pszTableID, UINT nTableIDLength, BOOL bCompletePath);

Task:

This function returns the table that is currently printed/filled.

Parameter:

hJob: List & Label job handle

pszTableID: Buffer in which the string is to be stored

nTableIDLength: Size of buffer.

bCompletePath: If true, the complete table hierarchy will be returned, e.g. "Orders > OrderDetails". If false, only the table name (e.g. "OrderDetails") is returned.

Return Value:

Error code

Hints:

See the hints in chapter Printing Relational Data.

See also:

LlDbAddTable, LlDbAddTableRelation, LlDbAddTableSortOrder, LlPrintDbGet­Current­TableSortOrder, LlPrintDbGetCurrentTableRelation