|
of_setarguments
|
|
Full name
|
pfc_n_cst_dwsrv_linkage.of_setarguments
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setarguments(string,string)
|
public function integer of_setarguments (string as_masterarg, string as_detailarg);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetArguments
//
// Access: Public
//
// Arguments:
// as_masterarg: A string containing the columnname in the master
// that is a linkage argument
// as_detailarg: A string containing the columnname in the detail
// that is a linkage argument matched with the as_masterarg
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: This function will establish the columns between the master and
// the detail that link these two datawindows. These do not necessarily
// have to correspond with datawindow retrieval arguments.
//
// Call this function multiple times for multiple column arguments
//
// *Note: This function should only be called from subordinate datawindows.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 6.0 Marked obsolete Replaced by of_Register(...).
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_Register(as_masterarg, as_detailarg)
end function