|
of_setdeletestyle
|
|
Full name
|
pfc_n_cst_dwsrv_linkage.of_setdeletestyle
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setdeletestyle(integer)
|
public function integer of_setdeletestyle (integer ai_style);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetDeleteStyle
//
// Access: Public
//
// Arguments:
// ai_style: The Delete style.
// DEFAULT
// DELETE_ROWS
// DISCARD_ROWS
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description:
// Set the Delete Style.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// Validate the argument.
CHOOSE CASE ai_style
CASE DEFAULT, DELETE_ROWS, DISCARD_ROWS
// Good style.
CASE ELSE
Return -1
END CHOOSE
// Set the delete style.
ii_deletestyle = ai_style
Return 1
end function