|
of_buildexpression
|
|
Full name
|
pfc_n_cst_dssrv.of_buildexpression
|
Access
|
public
|
Extend of
|
any
|
Return value
|
any
|
Prototype
|
public function any of_buildexpression(long,string,string)
|
Name
|
Datatype
|
ls_nooptionalvalue
|
string
|
public function any of_buildexpression (long al_row, string as_column, string as_operator);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_BuildExpression
//
// Access: Public
//
// Arguments:
// al_row : The row reference
// as_column : The column name reference
// as_operator : The desired operator.
// "=" Equals
// ">" Greater than
// "<" Less than
// "<>" Not equal
// ">=" Greater than or equal
// "<=" Less than or equal
//
// Returns: Any
// The column value cast to an any datatype
//
// Description:
// Returns a complete expression string that can be used on any Find or
// Filter operation.
// For example, 'hired_date > Date("1/1/95")' will be the result for
// as_column='hired_date', as_operator='>', as_optionalvalue='1/1/95'.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_nooptionalvalue = "#@notapplicable@#"
Return of_BuildExpression (al_row, as_column, as_operator, ls_nooptionalvalue)
end function