of_SetCurrentHeading


pfcutil.pbl   >   pfc_n_cst_sqlspy   >   of_SetCurrentHeading   

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

Name Datatype
No Data

Name Datatype
No Data

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

//Set the Heading
is_currentheading = as_currentheading

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