pfc_preinsertrow


pfcmain.pbl   >   pfc_u_dw   >   pfc_preinsertrow   

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

Name Datatype
No Data

Name Datatype
No Data

event pfc_preinsertrow;//////////////////////////////////////////////////////////////////////////////
//	Event:			pfc_preinsertrow
//	Arguments:		None
//	Returns:			Integer
//	 					1 if it OK to insert the row
//						0 = prevent the row from being added.
//						-1 = error
//	Description:	Determines if it is OK to insert a new row.
//////////////////////////////////////////////////////////////////////////////
//	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
	if inv_Linkage.event pfc_preinsertrow() <> inv_Linkage.CONTINUE_ACTION then
		return PREVENT_ACTION
	end if
end if

return CONTINUE_ACTION
end event

     
Name Owner
pfc_u_dw.pfc_insertrow pfc_u_dw
pfc_u_dw.pfc_addrow pfc_u_dw

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_linkage.pfc_preinsertrow pfc_n_cst_dwsrv_linkage

     
Full name
No Data

     
Name Scope
No Data