|
of_DecodeKey
|
|
Full name
|
pfc_n_cst_lvsrv_datasource.of_DecodeKey
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_DecodeKey(string)
|
Name
|
Datatype
|
ll_rowid
|
long
|
lnv_string
|
n_cst_string
|
ls_data
|
string
|
ls_key
|
string
|
public function string of_DecodeKey (string as_decodekey);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_DecodeKey
// Arguments: as_decodekey The listview 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 listview item
//////////////////////////////////////////////////////////////////////////////
// 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.
//////////////////////////////////////////////////////////////////////////////
long ll_rowid
string ls_key, ls_data
n_cst_string lnv_string
// Validate required reference.
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
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.len |
systemfunctions
|
systemfunctions.trim |
systemfunctions
|
pfc_n_cst_string.of_getkeyvalue |
pfc_n_cst_string
|