The Table_GetRangeKey() function retrieves the key used for the range applied to the specified table.
Table_GetRangeKey(table table_name)
• table table_name – The name of the table from which the range key is being returned.
An integer containing the number corresponding to the key used for the range. If no range is set for the table, the constant TABLE_NORANGE is returned.