of_setretrieveondisabled


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_querymode   >   of_setretrieveondisabled   

Full name pfc_n_cst_dwsrv_querymode.of_setretrieveondisabled
Access public
Extend of integer
Return value integer
Prototype public function integer of_setretrieveondisabled(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setretrieveondisabled (boolean ab_retrieve);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetRetrieveOnDisabled
//
//	Access:  public
//
//	Arguments:
//	ab_retrieve   when true (default), will cause the datawindow to
//		be retrieved when QueryMode is disabled
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Sets the state indicating whether the datawindow is 
//	automatically retrieved when QueryMode is disabled
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////

//  Verify passed arguments.
if IsNull (ab_retrieve) then return -1  

ib_retrieveondisabled = ab_retrieve
return 1
end function

     
Name Owner
pfc_u_tabpg_dwproperty_srvquerymode.pfc_propertyapply pfc_u_tabpg_dwproperty_srvquerymode

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data