|
of_setitem
|
|
Full name
|
pfc_n_cst_dssrv.of_setitem
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setitem(long,integer,string)
|
Name
|
Datatype
|
ls_columnname
|
string
|
public function integer of_setitem (long al_row, integer ai_column, string as_value);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetItem (FORMAT 1)
//
// Access: Public
//
// Arguments:
// al_row : The row reference for the value to be set
// ai_column : The column number reference
// as_value : The value of the column in string format
//
// Returns: Integer
// 1 = if it succeeds
// -1 = if an error occurs
//
// Description: Sets the specified row/column to the passed value.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
string ls_columnname
/* Get the Column Name from the Column Number. */
ls_columnname = ids_requestor.Describe ( "#" + String ( ai_column) + ".Name" )
Return of_SetItem ( al_row, ls_columnname, as_value )
end function