FlushCache

(ODBC Manager Library)

Description:              Forces a flush of a log file for a specified DSN.  Returns an error pointer to indicate success or failure.

Returns:                    Numeric

Usage:                       Script

Format:                      \ODBCManager\FlushCache(DSN,  UserName,  Password,  ErrorPtr)

Parameters:             DSN   { text }  { required }  { no default: }

                             The data source name of the ODBC database for which to flush the cache.

                             UserName    { text }  { required }  { no default: }

                             The user name in the database for authentication. A null provided in this field will be passed to the database as a null string.

                             Password     { text }  { required }  { no default: }

                             The password in the database for authentication. A null provided in this field will be passed to the database as a null string.

                             ErrPtr    { pointer }  { required }  { no default: }

                             Pointer to an error. Always valid on completion. Set to 0 if the command succeeds.

Returns:                0 upon completion.

Comments:               This module is a member of the ODBCManager Library, and must therefore be prefaced by \ODBCManager\, as shown in "Format" above.