of_updatebatchmode


pfcutil.pbl   >   pfc_w_sqlspy   >   of_updatebatchmode   

Full name pfc_w_sqlspy.of_updatebatchmode
Access public
Override of integer
Return value integer
Prototype public function integer of_updatebatchmode()

Name Datatype
No Data

Name Datatype
lb_inspecteachSQL boolean

public function integer of_updatebatchmode ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_updatebatchmode
//
//	Access:  		public
//
//	Arguments:		
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Determine what the BatchMode should be and set it visually
//						on this window.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

boolean lb_inspecteachSQL

//Get the current BatchMode from the SQLspy service.
lb_inspecteachSQL = Not gnv_app.inv_debug.inv_sqlspy.of_GetBatchmode()

//If it doesn't match the visual setting, update it.
If lb_inspecteachSQL <> cbx_batchmode.Checked Then
	cbx_batchmode.Checked = lb_inspecteachSQL
End If

Return 1

end function

     
Name Owner
pfc_n_cst_sqlspy.of_setbatchmode pfc_n_cst_sqlspy
pfc_w_sqlspy.pfc_preopen pfc_w_sqlspy

     
Name Owner
pfc_n_cst_sqlspy.of_GetBatchmode pfc_n_cst_sqlspy

     
Full name
pfc_w_sqlspy
demopfc

     
Name Scope
No Data