of_open


pfcapsrv.pbl   >   pfc_n_cst_selection   >   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[],readonly powerobject[],string[],string)

Name Datatype
No Data

Name Datatype
li_rc integer
lnv_sel n_cst_selectionattrib

public function integer of_open (string as_dataobject, ref any aa_returnval[], readonly powerobject apo_object[], string as_colreturn[], string as_title);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_Open
//
//	Access:  public
//
//	Arguments:
//	as_dataobject   DataWindow object to use for selection
//	aa_returnval[]   Return values that were selected
//	apo_object[]   Array of data to be used to populate the DW
//	as_colreturn[]   Column names to return the values for
//	as_title   Title of the selection window
//
//	Returns:  integer
//	# of values returned
//
//	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.ipo_data = apo_object
lnv_sel.is_columnreturn = as_colreturn
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
pfc_n_cst_selection.of_open pfc_n_cst_selection
pfc_n_cst_selection.of_open pfc_n_cst_selection
pfc_n_cst_dwsrv_querymode.pfc_operators pfc_n_cst_dwsrv_querymode

     
Name Owner
systemfunctions.openwithparm systemfunctions
systemfunctions.upperbound systemfunctions

     
Full name
w_selection
demopfc

     
Name Scope
No Data