|
pfc_updatespending
|
|
Full name
|
pfc_u_dw.pfc_updatespending
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_updatespending()
|
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