|
of_register
|
|
Full name
|
pfc_n_cst_dssrv_multitable.of_register
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_register(string,string[],string[])
|
Name
|
Datatype
|
lb_keyinplace
|
boolean
|
li_whereoption
|
integer
|
public function integer of_register (string as_table, string as_keycolumns[], string as_updateable_cols[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Register
//
// 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
//
// Returns: Integer
// 1 if it succeeds
// -1 if an error occurs.
//
// Description:
// Registers a table and its corresponding update characteristics with the
// service.
//
// Note:
// Uses dw default options for -
// Where Option: Key and Updateable Columns
// Key,Update In Place = FALSE, use Delete / then Insert
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version - Replaces obsoleted function of_AddToUpdate(...)
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
boolean lb_keyinplace=False //Default value
integer li_whereoption=1 //Default value
Return of_Register(as_table, as_keycolumns, as_updateable_cols, &
lb_keyinplace, li_whereoption)
end function