SetODBCCapabilities (open)

Update a driver's ODBC capabilities

Syntax

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

MACRO SetODBCCapabilities(INTEGER transaction, RECORD newcaps)

Parameters

INTEGER transaction

ODBC transaction id

RECORD newcaps

A record with new capability settings, in the format as returned by GetODBCInfo

Description

This function updates the capability settings stored for a transaction. The HareScript ODBC driver accepts the new capability settings without verification, so this function should be used with caution and probably only for debugging - it can produce unpredictable results. This function can only be used to update the 'cap_' cells in the information returned by GetODBCInfo