|
pfc_predeleterow
|
|
Full name
|
pfc_u_dw.pfc_predeleterow
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_predeleterow()
|
event pfc_predeleterow;//////////////////////////////////////////////////////////////////////////////
// Event: pfc_predeleterow
// Arguments: None
// Returns: Integer
// 1 = Continue with delete
// 0 = Prevent the actual delete.
// -1 = error
// Description: Notification of a pending delete operation.
//////////////////////////////////////////////////////////////////////////////
// Rev. History Version
// 6.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// Copyright © 1996-1999 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.
//////////////////////////////////////////////////////////////////////////////
if IsValid ( inv_Linkage ) then
// Notify service of the possible deletion.
// Note: The deletion of multiple master rows is not supported by the linkage service.
// Note: The linkage service has the functionality to cancel the delete operation.
if inv_Linkage.Event pfc_predeleterow (0) <> inv_Linkage.CONTINUE_ACTION then
return PREVENT_ACTION
end if
end if
return CONTINUE_ACTION
end event