|
pfc_restorerow
|
|
Full name
|
pfc_n_cst_dwsrv_rowmanager.pfc_restorerow
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
event long pfc_restorerow()
|
Name
|
Datatype
|
ll_rc
|
long
|
event pfc_restorerow;call super::pfc_restorerow;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_restorerow
//
// Arguments: none
//
// Returns: long
// number of rows restored (undeleted)
// -1 = error
// -2 = no rows in delete buffer to undelete
//
// Description:
// Allows user to undelete rows in the DW
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
long ll_rc
ll_rc = of_UnDelete()
if ll_rc = -2 then
of_MessageBox ('pfc_rowmanager_norestore', gnv_app.iapp_object.displayname, &
"There are no " + is_displayunits + " to restore.", Information!, Ok!, 1)
end if
return ll_rc
end event