of_sqlsyntax


pfcutil.pbl   >   pfc_n_cst_sqlspy   >   of_sqlsyntax   

Full name pfc_n_cst_sqlspy.of_sqlsyntax
Access public
Extend of integer
Return value integer
Prototype public function integer of_sqlsyntax(string)

Name Datatype
No Data

Name Datatype
li_null integer
li_rc integer
ls_empty_sqlsyntax string

public function integer of_sqlsyntax (string as_heading);//////////////////////////////////////////////////////////////////////////////
//
//	Function: 		of_SQLSyntax
//
//	Access:  		public
//
//	Arguments:
//	as_heading		Heading for the SQLSyntax
//
//	Returns:  		integer
//						0 if it succeeds and the caller's processing should 
//							continue as normal.
//						1 if it suceeds but the caller's proccessing should stop.
//						2 if it succeeds but the caller's processing should skip 
//							this request and execute the next request (if any).
//						-1 if an error occurs.
//						If any argument's value is NULL, function returns NULL.
//
//	Description:  	SQL Syntax to be processed by SQLSpy.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

integer li_rc
string ls_empty_sqlsyntax=''

//check parameters
If IsNull(as_heading) Then
	integer li_null
	SetNull (li_null)
	Return li_null
End If

//There is only the Heading present.
//The SQLSyntax cannot be paused	for user interaction 
//on the SQLSpy window.
li_rc = of_SQLSyntax (as_heading, ls_empty_sqlsyntax, False)

Return li_rc

end function

     
Name Owner
pfc_n_tr.of_RollBack pfc_n_tr
pfc_n_tr.of_Connect pfc_n_tr
pfc_n_tr.of_DisConnect pfc_n_tr
pfc_n_tr.of_Commit pfc_n_tr

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.setnull systemfunctions
pfc_n_cst_sqlspy.of_sqlsyntax pfc_n_cst_sqlspy

     
Full name
No Data

     
Name Scope
No Data