|
of_addtoupdate
|
|
Full name
|
pfc_n_cst_dwsrv_multitable.of_addtoupdate
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_addtoupdate(string,string[],string[],boolean,integer)
|
public function integer of_addtoupdate (string as_table, string as_keycolumns[], string as_updateable_cols[], boolean ab_keyinplace, integer ai_whereoption);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_AddToUpdate (Format 3)
//
// Access: Public
//
// Arguments:
// as_table: A string containing the table to update
// as_keycolumns[]: A string array containing the key columns to be used for update
// as_updateable_cols[]: A string array containing a list of updateable columns
// ab_keyinplace: A boolean when TRUE specifies use Update Key in Place, otherwise
// use delete, then insert on key changes
// ai_whereoption: An integer that corresponds to the datawindow Update Where
// option
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Registers a table and its corresponding update characteristics
// with the service.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Marked obsolete Replaced by of_Register(...).
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////
Return of_Register(as_table, as_keycolumns, as_updateable_cols, ab_keyinplace, &
ai_whereoption)
end function