|
of_Unregister
|
|
Full name
|
pfc_n_cst_dwsrv_reqcolumn.of_Unregister
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_Unregister(string)
|
Name
|
Datatype
|
li_index
|
integer
|
li_upper
|
integer
|
public function integer of_Unregister (string as_column);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Unregister
//
// Access: Public
//
// Arguments:
// as_column Column that should be deleted from the skip array.
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Unregister a column from skip process.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_upper
integer li_index
// Check arguments.
If IsNull(as_column) or Len(Trim(as_column))=0 Then
Return -1
End If
// Get the current number of entries on array.
li_upper = UpperBound (is_skipcolumn)
// Loop around array and unregister entry if found.
For li_index = 1 to li_upper
If Lower(as_column) = Lower(is_skipcolumn[li_index]) Then
// Found matching entry, Unregister it.
is_skipcolumn[li_index] = ''
// Update the skip string.
of_UpdateSkipString (is_skipcolumn)
Return 1
End If
Next
// No maching entry was found to unregister.
Return -1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.len |
systemfunctions
|
systemfunctions.lower |
systemfunctions
|
systemfunctions.trim |
systemfunctions
|
systemfunctions.upperbound |
systemfunctions
|
pfc_n_cst_dwsrv_reqcolumn.of_updateskipstring |
pfc_n_cst_dwsrv_reqcolumn
|