pfc_updatespending


pfcmain.pbl   >   pfc_u_dw   >   pfc_updatespending   

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

Name Datatype
No Data

Name Datatype
No Data

event pfc_updatespending;//////////////////////////////////////////////////////////////////////////////
//	Event:			pfc_UpdatesPending
//	Arguments:		None
//	Returns:			Integer
//						1 = Updates are pending.
//						0 = No updates are pending
//	Description:	Determine if any updates are pending on this datawindow
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						5.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.
//////////////////////////////////////////////////////////////////////////////
// Check if DataWindow is updateable
if not of_IsUpdateable() then	return 0

// Check for any updates that may be pending
if this.ModifiedCount() + this.DeletedCount() > 0 then return 1

return 0
end event

     
Name Owner
pfc_n_cst_dwsrv_linkage.of_getupdatespending pfc_n_cst_dwsrv_linkage
pfc_u_dw.of_UpdatesPending pfc_u_dw

     
Name Owner
datawindow.deletedcount datawindow
datawindow.modifiedcount datawindow
pfc_u_dw.of_IsUpdateable pfc_u_dw

     
Full name
No Data

     
Name Scope
No Data