of_setusecollinks


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_linkage   >   of_setusecollinks   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setusecollinks (integer ai_use);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  	of_SetUseColLinks 
//
//	Access:    	Public
//
//	Arguments:
//   ai_use:	An integer describing how detail datawindows will be refreshed
//					Valid values are: 
//						1 = Use column links to build a filter and filter. 
//									    the subordinate datawindow
//						2 = Use column links as arguments to a datawindow retrival.
//								(*This is mostly intended for Browsing Capabilities.  If the
//								 user will be updating rows as well as using this option,
//								 the modified rows need to be updated thru other means. 
//									(i.e., on pfc_master one could call the pfc_save event
//									 prior to allowing this service to discard the updates.)
//								(*Note: column links must be established in proper order)
//								(*Note: The service does not perform any updates unless
//											instructed so by the developer.)
//						3 = Use column links to cause details to scroll to proper row.
//
//	Returns:   	Integer
// 			  	1 if it succeeds and -1 if an error occurs.
//
//	Description:  Used to establish how detail datawindows will be refreshed
//
//	   *Note: This function should only be called from subordinate datawindows.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
// 5.0.02 Do not notify the master dw of the style of this detail.  The master
//			dw can query each detail to determine their styles.  This allows for
//			multiple styles to be suported on the same linkage chain.
// 5.0.02 Return 1 for successful operation.
// 6.0 	Marked obsolete Replaced by of_SetStyle().
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Return of_SetStyle(ai_use)

end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_dwsrv_linkage.of_setstyle pfc_n_cst_dwsrv_linkage

     
Full name
No Data

     
Name Scope
No Data