|
of_AddCompute
|
|
Full name
|
pfc_n_cst_dssrv_report.of_AddCompute
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_AddCompute(string,string,integer,integer)
|
Name
|
Datatype
|
lal_Null
|
Alignment
|
lvta_Any
|
VTextAlign
|
public function string of_AddCompute (string as_expr, string as_band, integer ai_x, integer ai_y);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_AddCompute
//
// Access: public
//
// Arguments:
// as_Expr The expression to be added as the computed column.
// as_Band The band to add it to.
// ai_X The X location of the object being placed.
// ai_Y The Y location of the object being placed.
//
// Returns: String
// The output of the Modify command (the error text or "") if True
// was passed for ab_Execute; the text of the Modify command
// to add the object if False was passed.
//
// Description: Add a computed column to any band of a datawindow.
//
// This function overloads the real of_AddCompute, which is protected.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.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.
//
//////////////////////////////////////////////////////////////////////////////
Alignment lal_Null
VTextAlign lvta_Any
SetNull(lal_Null)
Return of_AddCompute(as_Expr, as_Band, lal_Null, lvta_Any, ai_X, ai_Y, ibo_DefaultBorder, False, &
False, False, is_DefaultFontFace, ii_DefaultFontSize, ifc_DefaultCharSet, &
Il_DefaultColor, il_DefaultBackColor, True)
end function