Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Commitment Control, need HELP!

Status
Not open for further replies.

ehoh

Programmer
Dec 2, 2002
11
MY
I need help on how to use commitment control in clipper.
Never use this before, but now think of want to implement in my application since have some problem. I found the COMMIT command but unable to found the roll back command.
Can somebody give me an example? (for 2 database files....)
Thanks!

 
Clipper doesn't have a native transaction management mechanism. Alternatively you could use Advantage xBase Server or another RDD that supports transactions, with proprietary calls ofcourse, to get what you want.

The Clipper COMMIT statement is only meant to 'commit all you changes to disk'. According to the Norton Guide this has some limitiations.
> In DOS youl'd almost be sure all data is written to disk.
> In Windows DOS-box it depends on the caching mechanism of the underlying windows version, meaning you can't know for sure data is actually written to disk, unless you could force windows to flush it caches ;-) I don't know how to force that, maybe somone else does?

HTH
TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top