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,datawindow,boolean)

Name Datatype
No Data

Name Datatype
la_args any[20]
lds_control datastore
lpo_obj powerobject[]
ls_dwobjectname string
ls_importfile string
ls_sql string
ltr_obj n_tr

public function integer of_register (string as_id, datawindow adw_control, boolean ab_initialload);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_Register
//
//	Access:  public
//
//	Arguments:
//	as_id		The ID to be given to this Cache Object.
//	adw_control	The DataWindow Control containing the DataObject and Data to be used
//				on the Cache Object.
//	ab_initialload	Perform an Initial load (T/F).
//
//	Returns:  integer
//	1 successful.
//	0 already registered.
//	-1 error.
//
//	Description:
//	Registers the object into the service.
//	The cache data is found on the datawindow control.  
//	The of_Refresh() function will refresh the data according to the data found
//	in adw_control at the time of the call to of_refresh.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.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_dwobjectname
string		ls_importfile
powerobject lpo_obj[]
n_tr			ltr_obj
datastore	lds_control

Return  of_Register (DATAWINDOWCONTROL, ab_initialload, as_id, &
							ls_dwobjectname, ltr_obj, la_args, &
							lpo_obj, adw_control, lds_control, ls_sql, ls_importfile)

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