of_setupdateable


pfcmain.pbl   >   pfc_n_ds   >   of_setupdateable   

Full name pfc_n_ds.of_setupdateable
Access public
Extend of integer
Return value integer
Prototype public function integer of_setupdateable(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setupdateable (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetUpdateable
//
//	Access:  Public
//
//	Arguments:
//	ab_switch   Indicates whether the DataStore is updateable
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Sets whether the DataStore is updateable
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.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.
//
//////////////////////////////////////////////////////////////////////////////

// Check arguments
if IsNull (ab_switch) then
	return -1
end if

ib_isupdateable =  ab_switch
return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data