of_linkdetail


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_linkage   >   of_linkdetail   

Full name pfc_n_cst_dwsrv_linkage.of_linkdetail
Access public
Extend of integer
Return value integer
Prototype public function integer of_linkdetail(u_dw)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_linkdetail (u_dw adw_detail);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_LinkDetail
//
//	Access:    		Public
//
//	Arguments:
//   adw_detail:	The detail datawindow reference to be set on the master.
//
//	Returns:   		Integer
//  					1 if it succeeds and -1 if an error occurs.
//
//	Description:  
//	Sets the master's detail variable to passed datawindow.
//	Called internally by 'of_SetMaster'
//
//	Note:
//	This function is not typically called by the developer. 
//	To link a detail datawindow, call of_SetMaster instead.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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.
//
//////////////////////////////////////////////////////////////////////////////

// If the passed detail is not valid, then return error.
If IsNull(adw_detail) Or Not IsValid (adw_detail) Then 
	Return FAILURE
End If

// Link the detail.
idw_details[UpperBound(idw_details) + 1] = adw_detail
Return 1
end function

     
Name Owner
pfc_n_cst_dwsrv_linkage.of_setmaster pfc_n_cst_dwsrv_linkage

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.upperbound systemfunctions

     
Full name
No Data

     
Name Scope
No Data