|
of_GetDataSource
|
|
Full name
|
pfc_n_cst_lvsrv_datasource.of_GetDataSource
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_GetDataSource(ref n_ds)
|
public function integer of_GetDataSource (ref n_ds ads_source);//////////////////////////////////////////////////////////////////////////////
// Public Function: of_GetDataSource
// Arguments: ads_Source The handle to the DataStore (of type n_ds) for the Listview.
// Passed by reference.
// Returns: Integer
// 1 - the DataStore was valid,
// -1 - it was not.
// Description: Get the DataStore used as the source for the ListView. This
// allows the user get data and attributes from the internal data source.
//////////////////////////////////////////////////////////////////////////////
// Rev. History: Version
// 6.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.
//////////////////////////////////////////////////////////////////////////////
if IsNull(inv_Attrib.ids_Source) or not IsValid(inv_Attrib.ids_Source) then return -1
ads_Source = inv_Attrib.ids_Source
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|