|
of_string
|
|
Full name
|
pfc_n_cst_conversion.of_string
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_string(sqlpreviewtype)
|
Name
|
Datatype
|
ls_null
|
String
|
public function string of_string (sqlpreviewtype a_sqlpreviewtype);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_String
//
// Access: public
//
// Arguments:
// a_sqlpreviewtype The sqlpreviewtype that needs conversion.
//
// Returns: string
// A string representation of the sqlpreviewtype value.
// If ae_alignment is NULL, the function returns NULL.
// If ae_alignment is Invalid, the function returns '!'.
//
// Description: Converts the sqlpreviewtype enumerated datatype to a
// readable string representation.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
If IsNull(a_sqlpreviewtype) Then
String ls_null
SetNull (ls_null)
Return ls_null
End If
Choose Case a_sqlpreviewtype
Case PreviewInsert!
Return 'Insert'
Case PreviewDelete!
Return 'Delete'
Case PreviewUpdate!
Return 'Update'
Case PreviewSelect!
Return 'Retrieve'
End Choose
//Invalid parameter
Return '!'
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.setnull |
systemfunctions
|