|
pfc_endtran
|
|
Full name
|
pfc_w_master.pfc_endtran
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_endtran(integer)
|
event pfc_endtran;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_endtran
//
// Arguments:
// ai_update_results the return code of the Update that occurred
//
// Returns: integer
// 1 = success
// -1 = error
//
// Description:
// Perform end-of-transaction processing, such as commits / rollbacks
// based on the success of the update which occurred.
//
// Note: Developer may need to supply feedback to user (messageboxes)
// based on the success/failure of the update.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 5.0.02 Suppress datawindow error messages until after a rollback has
// been performed.
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
Return 1
end event