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 Only.
Related to: AddConnection | BuildDelete | BuildInsert | BuildSelect | BuildUpdate | ConvertToDbDate | ConvertToDbTime | ConvertToDbTimeStamp | ConvertToVTSDate | ConvertToVTSTime | ConvertToVTSTimeStamp | CopyRecords | DBDropList | DBGridList | ErrMessage | ExecuteQuery | ExecuteQueryCachedFormatBatchQuery | GetConnList | ResultFormat | StatsWin | TableSynch | Transaction | TransactionCached
Format: \ODBCManager\FlushCache(DSN,  UserName,  Password,  ErrorPtr)
Parameters:  
DSN
Required. The data source name of the ODBC database for which to flush the cache.
UserName
Required  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
Required. The password in the database for authentication. A null provided in this field will be passed to the database as a null string.
ErrPtr 
Required. 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.