Using Win32 functions in Visual FoxPro Image Gallery
Extensible Storage Engine (ESE, Jet Blue)
JetAddColumn
JetBeginSession
JetBeginTransaction
JetCloseDatabase
JetCloseTable
JetCommitTransaction
JetCreateDatabase
JetCreateInstance
JetCreateTable
JetDeleteTable
JetDetachDatabase
JetEndSession
JetGetColumnInfo
JetGotoBookmark
JetInit
JetMove
JetOpenTable
JetPrepareUpdate
JetRetrieveColumn
JetRollback
JetSetColumn
JetTerm
JetUpdate
Code examples:
Extensible Storage Engine class library
JetRollback
..msdn    Add comment     W32 Constants      Translate this page
Undoes the changes made to the state of the database and returns to the last save point.
Code examples:
Extensible Storage Engine class library
Declaration:
JET_ERR JET_API JetRollback(
  __in          JET_SESID sesid,
  __in          JET_GRBIT grbit
);
FoxPro declaration:
DECLARE INTEGER JetRollback IN esent;
    INTEGER sesid,;
    INTEGER grbit
Parameters:
sesid
The session to use for this call.

grbit
A group of bits that contain the options to be used for this call.
Return value:
Returns the JET_ERR datatype with a predefined return code.
Usage:
= JetRollback(THIS.jetsessionid, 0)
My comment:
On success, any changes made to the database during the current save point for the given session will be undone and that save point will be ended. If the last save point for the session was ended then the session will exit the transaction.

On failure, the transactional state of the session will remain unchanged. No change to the database state will occur. A failure during rollback is considered to be a catastrophic database error.

See also: JetBeginTransaction, JetCommitTransaction
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-01-13 14:10:50
Modified: 2008-01-13 14:14:19
Visited in last 7 days: 5
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.232.243)
15 sec.Function: 'QueryDosDevice'
29 sec.Function: 'GetKeyboardLayoutName'
41 sec.Function: 'AllocConsole'
53 sec.Function: 'waveInGetDevCaps'
1.1 min.Function: 'FindNextPrinterChangeNotification'
1.3 min.Function: 'SHParseDisplayName'
1.52 min.Function: 'CeGetSpecialFolderPath'
1.72 min.Function: 'GetSystemDefaultLocaleName'
1.93 min.Function: 'GetProp'
2.17 min.Function: 'GetNumberOfInterfaces'
Google
Advertise here!