|
of_unregister
|
|
Full name
|
pfc_n_cst_dwsrv_linkage.of_unregister
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_unregister()
|
Name
|
Datatype
|
lnv_linkargs
|
n_cst_linkageattrib
|
ls_keycols
|
String[]
|
public function integer of_unregister ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Unregister
//
// Access: Public
//
// Arguments: None
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: This function will remove any 'column linkages' between the
// master and detail datawindow
//
// Note: This function should only be called from subordinate datawindows.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version - Replaces obsoleted function of_ResetArguments(...)
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
String ls_keycols[]
n_cst_linkageattrib lnv_linkargs
// Operation is not valid on a root datawindow.
If of_IsRoot() Then Return -1
// Remove column linkages.
inv_linkargs = lnv_linkargs
is_keycols = ls_keycols
Return 1
end function