of_setcustomupdate


pfcapsrv.pbl   >   pfc_n_cst_tvsrv_levelsource   >   of_setcustomupdate   

Full name pfc_n_cst_tvsrv_levelsource.of_setcustomupdate
Access public
Extend of integer
Return value integer
Prototype public function integer of_setcustomupdate(integer)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setcustomupdate (integer ai_custom);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  	of_SetCustomUpdate
//
//	Access:    	Public
//
//	Arguments:
//   ai_custom	Custom update identifier (1 through 9)
//
//	Returns:   	Integer
// 			  	1 if it succeeds and -1 if an error occurs.
//
//	Description:  
//	Used to establish more than one type of CUSTOM update.
//
//	   *Note: This value is used for CUSTOM Updates.  It allows for more than
//					one custom update.  Look in of_Update(...) and of_UpdateCustom(...) 
//					for its usage.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.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.
//
//////////////////////////////////////////////////////////////////////////////

// Validate passed arguments.
If IsNull(ai_custom) or ai_custom <= 1 Or ai_custom >= 9 Then 
	Return -1
End If

// Set the attribute.
ii_customupdate = ai_custom
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data