of_SetCurrentSyntax


pfcutil.pbl   >   pfc_n_cst_sqlspy   >   of_SetCurrentSyntax   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_SetCurrentSyntax (string as_currentsyntax);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetCurrentSyntax
//
//	Access:  		public
//
//	Arguments:
//	as_currentheading   String containing the current syntax.
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Sets the current syntax for the SQLSpy service.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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(as_currentsyntax) Then
	Return -1
End If

//Set the Heading
is_currentsyntax = as_currentsyntax

Return 1

end function

     
Name Owner
pfc_w_sqlspyinspect.of_populatebeforeclose pfc_w_sqlspyinspect
pfc_n_cst_sqlspy.of_sqlsyntax pfc_n_cst_sqlspy

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data