of_GetColumnInfo


pfcapsrv.pbl   >   pfc_n_cst_lvsrv_datasource   >   of_GetColumnInfo   

Full name pfc_n_cst_lvsrv_datasource.of_GetColumnInfo
Access public
Extend of integer
Return value integer
Prototype public function integer of_GetColumnInfo(integer,ref n_cst_columnattrib)

Name Datatype
No Data

Name Datatype
li_Cols Integer

public function integer of_GetColumnInfo (integer ai_column, ref n_cst_columnattrib anv_colattrib);//////////////////////////////////////////////////////////////////////////////
//	Public Function:	of_GetColumnInfo
//	Arguments:		ai_column			Column from the listview
//						anv_ColAttrib		The attribute nvo containing the Datasource column information 
//												passed by reference
//	Returns:			Integer
//					 	1 = success,
//						-1 = an error occurred
//	Description:	Return column information from ListView control.  
//						Column information is displayed in Report View only.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						6.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	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_Cols

// Check arguments
if IsNull(ai_column) or (ai_column < 1) then return -1

// Check if the column was previously added
li_Cols = UpperBound(inv_ColAttrib)
if ai_column > li_Cols then return -1

anv_colattrib = inv_ColAttrib[ai_column] 

return 1
end function

     
Name Owner
pfc_u_lvs.of_getcolumninfo pfc_u_lvs

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.upperbound systemfunctions

     
Full name
No Data

     
Name Scope
No Data