pfc_predeleterow


pfcmain.pbl   >   pfc_u_dw   >   pfc_predeleterow   

Full name pfc_u_dw.pfc_predeleterow
Access public
Extend of integer
Return value integer
Prototype event integer pfc_predeleterow()

Name Datatype
No Data

Name Datatype
No Data

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

     
Name Owner
pfc_u_dw.pfc_deleterow pfc_u_dw

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_linkage.pfc_predeleterow pfc_n_cst_dwsrv_linkage

     
Full name
No Data

     
Name Scope
No Data