|
of_rowselect
|
|
Full name
|
pfc_n_cst_dwsrv_rowselection.of_rowselect
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_rowselect(long)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_rowselect (long al_row);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_RowSelect
//
// Access: public
//
// Arguments:
// al_row The row on which some action is required.
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Calls the appropriate specific select processing on a row.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 6.0 Use of constants within services.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc=-1
CHOOSE CASE ii_style
CASE SINGLE
li_rc = of_RowSelectSingle ( al_row )
CASE MULTIPLE
li_rc = of_RowSelectMulti ( al_row )
CASE EXTENDED
li_rc = of_RowSelectExt (al_row, KeyDown(KeyControl!), Keydown(KeyShift!))
END CHOOSE
Return li_rc
end function