|
of_open
|
|
Full name
|
pfc_n_cst_selection.of_open
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_open(string,ref any[],ref n_tr,string[],any[20],string)
|
Name
|
Datatype
|
li_rc
|
integer
|
lnv_sel
|
n_cst_selectionattrib
|
public function integer of_open (string as_dataobject, ref any aa_returnval[], ref n_tr atr_object, string as_colreturn[], any aa_argument[20], string as_title);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Open
//
// Access: public
//
// Arguments:
// as_dataobject DataWindow object to use for selection
// aa_returnval[] Return values from the columns on the row selected (by REF)
// atr_object Transaction object to use to populate the selection DW
// as_colreturn[] Column names on the selection DW to return the values for
// aa_argument[20] Retrieval argument values for the selection DW
// as_title Title of the selection window
//
// Returns: integer
// # of values returned
// -1 = error
//
// Description: Opens the selection window
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc
n_cst_selectionattrib lnv_sel
lnv_sel.is_dataobject = as_dataobject
lnv_sel.itr_object = atr_object
lnv_sel.is_columnreturn = as_colreturn
lnv_sel.ia_argument = aa_argument
lnv_sel.is_title = as_title
OpenWithParm (w_selection, lnv_sel)
lnv_sel = message.powerobjectparm
li_rc = UpperBound (lnv_sel.ia_returnval)
aa_returnval = lnv_sel.ia_returnval
return li_rc
end function
Name
|
Owner
|
systemfunctions.openwithparm |
systemfunctions
|
systemfunctions.upperbound |
systemfunctions
|