|
of_setcolumndisplaynamestyle
|
|
Full name
|
pfc_n_cst_dwsrv.of_setcolumndisplaynamestyle
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setcolumndisplaynamestyle(integer)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_setcolumndisplaynamestyle (integer ai_coldisplaynamestyle);//////////////////////////////////////////////////////////////////////////////
//
// Function:
// of_setColumnDisplayNameStyle
//
// Access:
// public
//
// Arguments:
// ai_coldisplaynamestyle columnDisplayNameStyle setting
// DEFAULT = 0 regular DataWindow column name
// DBNAME =1 database name for the column
// HEADER = 2 header name for the column
//
// Returns:
// integer
// SUCCESS = 1
// ERR = -1
//
// Description:
// Sets the style to use for displaying column names
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version - Replaces obsoleted function of_setColumnNameSource(...)
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc = 1
if IsNull (ai_coldisplaynamestyle) then
return -1
end if
if (ai_coldisplaynamestyle > 2 or ai_coldisplaynamestyle < 0) then
li_rc = -1
else
ii_source = ai_coldisplaynamestyle
end if
return li_rc
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|