of_getregistered


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_dropdownsearch   >   of_getregistered   

Full name pfc_n_cst_dwsrv_dropdownsearch.of_getregistered
Access public
Extend of integer
Return value integer
Prototype public function integer of_getregistered(ref string[])

Name Datatype
No Data

Name Datatype
li_count integer
li_i integer
ls_empty string[]

public function integer of_getregistered (ref string as_columns[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function: 		of_GetRegistered
//
//	Access:  		public
//
//	Arguments:
//	as_columns[]	Columns names for which the service is providing dropdown 
//						search capabilities. (by reference)
//
//
//	Returns:  		integer
//						The number of entries in the returned array.
//
//	Description:  	This function returns the column names for which the service 
//						is providing dropdown search capabilities.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version - Replaces obsoleted function of_GetColumn(...).
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1999 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_i
integer	li_count
string	ls_empty[]

// Initialize string.
as_columns = ls_empty

// Get the number of entries on the internal array.
li_count = upperbound(inv_columns)
If li_count <=0 Then Return 0

// Loop around all entries and populate array with column names.
For li_i=1 To li_count
	as_columns[li_i] = inv_columns[li_i].s_columnname
Next

Return li_count 
end function

     
Name Owner
pfc_n_cst_dwsrv_dropdownsearch.of_getcolumn pfc_n_cst_dwsrv_dropdownsearch
pfc_u_tabpg_dwproperty_srvdropdownsearch.pfc_propertypopulate pfc_u_tabpg_dwproperty_srvdropdownsearch

     
Name Owner
systemfunctions.upperbound systemfunctions

     
Full name
No Data

     
Name Scope
No Data