|
of_getregisterable
|
|
Full name
|
pfc_n_cst_dwsrv_reqcolumn.of_getregisterable
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getregisterable(ref string[])
|
Name
|
Datatype
|
ls_allcolumns
|
string[]
|
public function integer of_getregisterable (ref string as_allcolumns[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetRegisterable
//
// Access: Public
//
// Arguments:
// as_allcolumns[] Passed by reference, that will hold all the columns
// that the service could receive for registering purposes.
//
// Returns: Integer
// 1 if it succeeds and
// -1 if an error occurs.
//
// Description:
// To get the list of all the columns that the service could receive for
// registering purposes.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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.
//
//////////////////////////////////////////////////////////////////////////////
string ls_allcolumns[]
// Get all the column names on the datawindow.
of_GetObjects(ls_allcolumns, "column", "*", True)
as_allcolumns = ls_allcolumns
Return UpperBound(as_allcolumns)
end function