of_setbatchmode


pfcutil.pbl   >   pfc_n_cst_sqlspy   >   of_setbatchmode   

Full name pfc_n_cst_sqlspy.of_setbatchmode
Access public
Extend of integer
Return value integer
Prototype public function integer of_setbatchmode(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setbatchmode (boolean ab_batchmode);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetBatchmode
//
//	Access:  		public
//
//	Arguments:
//	ab_batchmode   Mode of the service.
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Sets the mode of the SQLSpy service.
//						Notifies the visual part of SQLSpy for it to correctly
//						reflect the appropriate mode.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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(ab_batchmode) Then
	Return -1
End If

//Set the BatchMode
ib_batchmode = ab_batchmode

// Make sure the Visual part of SQLSpy reflects the BatchMode
If IsValid(iw_SQLSpy) Then
	iw_SQLSpy.of_UpdateBatchMode()
End If

Return 1

end function

     
Name Owner
pfc_w_sqlspyinspect.of_populatebeforeclose pfc_w_sqlspyinspect
pfc_w_sqlspy.cbx_batchmode.clicked cbx_batchmode

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_w_sqlspy.of_updatebatchmode pfc_w_sqlspy

     
Full name
No Data

     
Name Scope
No Data