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,string)

Name Datatype
No Data

Name Datatype
li_null integer
li_rc integer

public function integer of_sqlsyntax (string as_heading, string as_syntax);//////////////////////////////////////////////////////////////////////////////
//
//	Function: 		of_SQLSyntax
//
//	Access:  		public
//
//	Arguments:
//	as_heading		Heading (if any) for the SQLSyntax
//	as_syntax		The actual 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

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

//The SQLSyntax cannot be paused	for user interaction 
//on the SQLSpy window.
li_rc = of_SQLSyntax (as_heading, as_syntax, False)

Return li_rc

end function

     
Name Owner
pfc_n_cst_tvsrv_levelsource.of_update pfc_n_cst_tvsrv_levelsource
pfc_n_cst_dwsrv_linkage.of_updatebottomup pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_updatetopdown pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_updatetopdownandbottomup pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_updatebottomupandtopdown pfc_n_cst_dwsrv_linkage
pfc_n_tr.of_DistinctValues pfc_n_tr
pfc_u_dw.dberror pfc_u_dw
pfc_u_dw.retrieveend pfc_u_dw
pfc_n_ds.dberror pfc_n_ds
pfc_n_ds.retrieveend pfc_n_ds

     
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