|
of_getcolumndisplayname
|
|
Full name
|
pfc_n_cst_dssrv.of_getcolumndisplayname
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_getcolumndisplayname(integer)
|
Name
|
Datatype
|
ls_colname
|
string
|
public function string of_getcolumndisplayname (integer ai_colnumber);//////////////////////////////////////////////////////////////////////////////
//
// Function:
// of_getColumnDisplayName
//
// Access:
// public
//
// Arguments:
// ai_colnumber Column number to get the display name for
//
// Returns:
// string
// Display name of the column
// ! = invalid column name or error
//
// Description:
// Returns the display name of a column name, based on the
// columnDisplayNameStyle setting.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_colname
// Validate requestor
if isNull (ids_requestor) or not isValid (ids_requestor) then
return "!"
end if
// Validate column name
ls_colname = ids_requestor.describe ("#" + string (ai_colnumber) + ".name")
if ls_colname = "?" or ls_colname = "!" then
return "!"
end if
return of_getColumnDisplayName (ls_colname)
end function
Name
|
Owner
|
datastore.describe |
datastore
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.string |
systemfunctions
|
pfc_n_cst_dssrv.of_getcolumndisplayname |
pfc_n_cst_dssrv
|