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