|
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[])
|
public function integer of_addtoupdate (string as_table, string as_keycolumns[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_AddToUpdate ( Format 1 )
//
// 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
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Registers a table and its corresponding update characteristics
// with the service.
//
// *Note: Uses dw default options for:
// Updateable columns are all columns belong to the passed table
// Where Option: Key and Updateable Columns
// Key,Update In Place = FALSE, use Delete / then Insert
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial 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)
end function