of_decodekey


pfcapsrv.pbl   >   pfc_n_cst_tvsrv_levelsource   >   of_decodekey   

Full name pfc_n_cst_tvsrv_levelsource.of_decodekey
Access public
Extend of string
Return value string
Prototype public function string of_decodekey(string)

Name Datatype
No Data

Name Datatype
ll_rowid long
lnv_string n_cst_string
ls_data string
ls_key string

public function string of_decodekey (string as_decodekey);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_Decodekey
//
//	Access:		public
//
//	Arguments:
//	as_decodekey	The treeview data attribute as a string.  
//
//	Returns:		String
//					The created key if successful, 
//					"!" if an error occurrs.
//
//	Description:	Get the unique key which was previously placed in the data attribute
//						of the treeview item 
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

long				ll_rowid
string			ls_key, ls_data
n_cst_string	lnv_string

// Validate arguments
If IsNull(as_decodekey) or (len(trim(as_decodekey)) = 0) Then Return "!"

// Set Data to the unique key
ls_key = lnv_string.of_GetKeyValue(as_decodekey, is_pfckey, is_delimiter)

return ls_key
end function

     
Name Owner
pfc_n_cst_tvsrv_levelsource.of_getargs pfc_n_cst_tvsrv_levelsource
pfc_n_cst_tvsrv_levelsource.of_getdatarow pfc_n_cst_tvsrv_levelsource
pfc_n_cst_tvsrv_levelsource.pfc_undodelete pfc_n_cst_tvsrv_levelsource

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.len systemfunctions
systemfunctions.trim systemfunctions
pfc_n_cst_string.of_getkeyvalue pfc_n_cst_string

     
Full name
No Data

     
Name Scope
No Data