GetWHDBTableId (open)

Retrieve the table id for a bound table

Syntax

LOADLIB "wh::dbase/whdb.whlib";

INTEGER FUNCTION GetWHDBTableId(TABLE tbl)

Parameters

TABLE tbl

Table to get the id of

Return value

INTEGER

Id of the table, or 0 if the table does not exist.

Description

This function retrieves the ID the database uses for the specified table. This function will abort if the transaction is not a WebHare database transaction