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
JetBeginTransaction
..msdn    Add comment     W32 Constants      Translate this page
Causes a session to enter a transaction and create a new save point.
Code examples:
Extensible Storage Engine class library
Declaration:
JET_ERR JET_API JetBeginTransaction(
  __in          JET_SESID sesid
);
FoxPro declaration:
DECLARE INTEGER JetBeginTransaction IN esent;
    INTEGER sesid
Parameters:
sesid
The session to use for this call.

Return value:
Returns the JET_ERR datatype with a predefined return code.
Usage:
THIS.errorno = JetBeginTransaction(THIS.jetsessionid)
IF THIS.errorno <> 0
    THIS.errormessage = "JetBeginTransaction call failed."
    RETURN .F.
ENDIF
My comment:
This function can be called more than once on a single session to cause the creation of additional save points. These save points can be used to selectively keep or discard changes to the state of the database.

See also: JetCommitTransaction, JetRollback
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-01-13 14:07:52
Modified: 2008-01-13 14:10:34
Visited in last 7 days: 15
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.82.79.109)
13 sec.Function: 'AddClipboardFormatListener'
26 sec.Function: 'InternetGetConnectedState'
40 sec.Function: 'AssignProcessToJobObject'
53 sec.Function: 'CM_Request_Device_Eject_Ex'
1.13 min.Function: 'GdipCreateTexture'
1.37 min.Function: 'BitBlt'
1.6 min.Function: 'GlobalFree'
1.87 min.Function: 'WTSCloseServer'
2.12 min.Function: 'GetObject'
2.38 min.Function: 'SetKeyboardState'
Google
Advertise here!