of_updateonrowchange


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_linkage   >   of_updateonrowchange   

Full name pfc_n_cst_dwsrv_linkage.of_updateonrowchange
Access public
Extend of boolean
Return value boolean
Prototype public function boolean of_updateonrowchange()

Name Datatype
No Data

Name Datatype
li_i integer
li_numdetails integer

public function boolean of_updateonrowchange ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  	of_UpdateOnRowChange
//
//	Access:    	Public
//
//	Arguments:	None
//
//	Returns:   	boolean 
//	stating if current dw requires Updates to occur on RowChange.
//
//	Description:
//	Determine by looking at the linked dws, if current dw requires Updates to
//	occur on RowChange.
//
//	Note: 
//	This functionality is only used by the Retrival style.
//	This function is not typically called by the developer.  
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////

integer	li_numdetails
integer	li_i

// Determine if current dw requires Updates to occur on RowChange.
If of_GetStyle() = RETRIEVE And of_IsUpdateOnRowChange() Then
	Return True
End If

// Determine if any Detail requires Updates to occur on RowChange.
li_numdetails = UpperBound ( idw_details ) 
For li_i = 1 to li_numdetails 
	If IsNull(idw_details[li_i]) Or Not IsValid (idw_details[li_i]) Then Continue
	If IsNull(idw_details[li_i].inv_Linkage) Or & 
	 	Not IsValid (idw_details[li_i].inv_Linkage) Then Return False
			 
	If idw_details[li_i].inv_Linkage.of_UpdateOnRowChange() Then
		Return True
	End If
Next 

Return False
end function

     
Name Owner
pfc_n_cst_dwsrv_linkage.of_setkeyvalues pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_updateonrowchange pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.pfc_deleterow pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.pfc_predeleterow pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.pfc_rowfocuschanging pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.pfc_preinsertrow pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.pfc_clicked pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.pfc_rowchanged pfc_n_cst_dwsrv_linkage

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.upperbound systemfunctions
pfc_n_cst_dwsrv_linkage.of_getstyle pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_IsUpdateOnRowChange pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_updateonrowchange pfc_n_cst_dwsrv_linkage

     
Full name
No Data

     
Name Scope
No Data