xHarbour Reference Documentation > Command Reference xHarbour Developers Network  

SET HARDCOMMIT

Toggles immediate committing of changes to record buffers.

Syntax

SET HARDCOMMIT ON | off | (<lOnOff>)

Arguments

ON | off | (<lOnOff>)
The option toggles if data of a changed record is immediately commited to disk with the REPLACE command. The value ON or .T. (true), which is the default, commits changed data immediately. OFF or .F. (false) switch this mode off.

Description

Some replaceable database drivers support a delayed committing of records when their data is changed with the REPLACE command. The SET HARDCOMMIT setting influences this behavior. The default is ON.

Setting HARDCOMMIT to OFF can optimize record updates in databases but requires an explicit COMMIT command to indicate that data must be written to the database.

Info

See also:COMMIT, REPLACE, Set(), USE
Category: Database commands , SET commands , xHarbour extensions
Source:rtl\set.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe