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,n_tr,string)

Name Datatype
No Data

Name Datatype
la_args any[20]
lb_initialload boolean
lds_control datastore
ldw_control datawindow
lpo_obj powerobject[]
ls_dwobjectname string
ls_importfile string

public function integer of_register (string as_id, n_tr atr_obj, string as_sql);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_Register
//
//	Access:  public
//
//	Arguments:
//	as_id			The ID to be given to this Cache Object.
//	atr_obj		The transaction object.
//	as_sql		The SQL to use to create the object.
//
//	Returns:  integer
//	1 successful.
//	0 already registered.
//	-1 error.
//
//	Description:
//	Registers the object into the service.
// The cache data is found on a DataBase.  When requested, a retrive 
//	will be performed to load the data.  The of_Refresh() functions can be used 
//	to refresh the data on demand.
//////////////////////////////////////////////////////////////////////////////
//
//	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_dwobjectname
string		ls_importfile
boolean		lb_initialload=True
powerobject lpo_obj[]
datawindow	ldw_control
datastore	lds_control

Return  of_Register (SQL, lb_initialload, as_id, &
							ls_dwobjectname, atr_obj, la_args, &
							lpo_obj, ldw_control, lds_control, ls_importfile, as_sql)
							

end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_dwcache.of_register pfc_n_cst_dwcache

     
Full name
No Data

     
Name Scope
No Data