of_register


pfcapsrv.pbl   >   pfc_n_cst_dwcache   >   of_register   

Full name pfc_n_cst_dwcache.of_register
Access public
Extend of integer
Return value integer
Prototype public function integer of_register(string,string,powerobject[])

Name Datatype
No Data

Name Datatype
la_args any[20]
lb_initialload boolean
lds_control datastore
ldw_control datawindow
ls_importfile string
ls_sql string
ltr_obj n_tr

public function integer of_register (string as_id, string as_dwobjectname, powerobject apo_data[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_Register
//
//	Access:  public
//
//	Arguments:
//	as_id					The ID to be given to this Cache Object.
//	as_dwobjectname	The DataWindow Object to be used on the Cache Object.
//	apo_data[]			The data to load into the Cache Object.
//
//	Returns:  integer
//	1 successful.
//	0 already registered.
//	-1 error.
//
//	Description:
//	Registers the object into the service.
// The cache data is found on the PowerObject array.  There will be an initial
//	load of this data.   The of_Refresh() functions will have no effect on this
//	Cache object.
//
//	Note: This structure used to populate the load the data must match the 
//			DataWindow Object structure.  If not, the result will be an 
//			application error message.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

any			la_args[20]
string		ls_sql
string		ls_importfile
boolean		lb_initialload=True
datawindow	ldw_control
n_tr			ltr_obj
datastore	lds_control

Return  of_Register (POWEROBJECT, lb_initialload, as_id, &
							as_dwobjectname, ltr_obj, la_args, &
							apo_data, ldw_control, lds_control, ls_importfile, ls_sql)
end function

     
Name Owner
pfc_n_cst_tvsrv_levelsource.of_registerdatasource pfc_n_cst_tvsrv_levelsource
pfc_n_cst_lvsrv_datasource.of_RegisterDataSource pfc_n_cst_lvsrv_datasource

     
Name Owner
pfc_n_cst_dwcache.of_register pfc_n_cst_dwcache

     
Full name
No Data

     
Name Scope
No Data