of_Update


pfcmain.pbl   >   pfc_u_tv   >   of_Update   

Full name pfc_u_tv.of_Update
Access public
Extend of integer
Return value integer
Prototype public function integer of_Update(integer,boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_Update (integer ai_level, boolean ab_accept);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_Update
//
//	Access:  public
//
//	Arguments:
//	ai_Level						The level for which to update its DataStore.
//										If ai_Level is 0, all DataStores will be updated.
//										NOTE:  There is only one DataStore for all 
//										recursive levels.  So if ai_Level is a recursive level, 
//										all levels using that DataStore will be updated.
//	ab_Accept						True - (default) perform an AcceptText prior to the update,
//										False - do not perform an AcceptText.
//
//	Returns:		Integer
//					1	- the level was updated successfully
//					-1	- an error occurred
//
//	Description:	Update the DataStore associated with a level of the TreeView.
//
//						This function overloads the real of_Update function to allow the last
//						retrieval argument to be optional.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Return of_Update(ai_Level, ab_Accept, True)

end function

     
Name Owner
No Data

     
Name Owner
pfc_u_tv.of_Update pfc_u_tv

     
Full name
No Data

     
Name Scope
No Data