pfc_prerestorerow


pfcmain.pbl   >   pfc_u_dw   >   pfc_prerestorerow   

Full name pfc_u_dw.pfc_prerestorerow
Access public
Extend of
Return value
Prototype event pfc_prerestorerow(ref n_cst_restorerowattrib)

Name Datatype
No Data

Name Datatype
lb_disablelinkage boolean

event pfc_prerestorerow;//////////////////////////////////////////////////////////////////////////////
//	Event:			pfc_prerestorerow
//	Arguments:		anv_restorerowattrib:  Restore object by reference
//	Returns:			None
//	Description:	Populate restore object attributes before the Restore window opens.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						6.0   Initial version
// 					7.0	Linkage service should not fire events when querymode is enabled
//////////////////////////////////////////////////////////////////////////////
//	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.
//////////////////////////////////////////////////////////////////////////////
boolean lb_disablelinkage

// Is Querymode enabled?
if IsValid(inv_QueryMode) then lb_disablelinkage = inv_QueryMode.of_GetEnabled()

if not lb_disablelinkage then
	if IsValid (inv_Linkage) then
		if inv_Linkage.of_GetStyle() = inv_Linkage.FILTER then
			// Only display the rows that belong to the current master row.
			anv_restorerowattrib.is_filter = this.Object.DataWindow.Table.Filter
		end if
	end if
end if

// The sort to be applied prior to displaying the RestoreRow dialog.
anv_restorerowattrib.is_sort = this.Object.DataWindow.Table.Sort
end event

     
Name Owner
pfc_n_cst_dwsrv_rowmanager.of_undelete pfc_n_cst_dwsrv_rowmanager

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_linkage.of_getstyle pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_querymode.of_getenabled pfc_n_cst_dwsrv_querymode

     
Full name
No Data

     
Name Scope
No Data