of_string


pfcapsrv.pbl   >   pfc_n_cst_conversion   >   of_string   

Full name pfc_n_cst_conversion.of_string
Access public
Extend of string
Return value string
Prototype public function string of_string(dwitemstatus)

Name Datatype
No Data

Name Datatype
No Data

public function string of_string (dwitemstatus ae_dwitemstatus);//////////////////////////////////////////////////////////////////////////////
//
//	Function: 		of_String
//
//	Access:  		public
//
//	Arguments:
//	ae_dwitemstatus	The dwitemstatus that needs conversion.
//
//	Returns:  		string
//						A string representation of the dwitemstatus value.
//						If ae_dwitemstatus is NULL or Invalid, the function returns '!'.
//
//	Description:  	Converts the dwitemstatus enumerated datatype to a 
//						readable string representation.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(ae_dwitemstatus) Then
	Return '!'
End If
	
Choose Case ae_dwitemstatus
	Case NotModified!
		Return 'NotModified'
	Case DataModified!
		Return 'DataModified'
	Case New!
		Return 'New'
	Case NewModified!
		Return 'NewModified'
End Choose

//Invalid parameter
Return '!'
end function

     
Name Owner
pfc_u_tabpg_dwproperty_status.pfc_propertystats pfc_u_tabpg_dwproperty_status

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data