of_getpredefinedsource


pfcapsrv.pbl   >   pfc_n_cst_error   >   of_getpredefinedsource   

Full name pfc_n_cst_error.of_getpredefinedsource
Access public
Extend of integer
Return value integer
Prototype public function integer of_getpredefinedsource(ref n_tr)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_getpredefinedsource (ref n_tr atr_trans);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_GetPredefinedSource
//
//	Access:  		public
//
//	Arguments: 		
//		atr_trans	The transaction for reading pre-defined messages. (by ref)
//	
//	Returns: 		Integer
//						1 if it succeeds and -1 if it fails .
//
//	Description:  	This function is called to get the source for reading 
//						pre-defined messages.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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.
//
//////////////////////////////////////////////////////////////////////////////

// For this function to be called successfuly, the input source type must
// be a database.
If is_msgsrc = DATABASE Then
	atr_trans = itr_msgdb
	Return 1
End if

Return -1
end function

     
Name Owner
No Data

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data