Method DacPagedDataStore():new() Foundation

Creates an instance of the DacPagedDataStore class.

Syntax
DacPagedDataStore():new( [<cnAlias>]     , ;
                         [<aFieldNames>]   ) --> oDacPagedDataStore
or 
DacPagedDataStore():new( <a2DimArray>    , ;
                        [<aColumnIndex>]   ) --> oDacPagedDataStore
Parameters
<cnAlias>
<cnAlias> is either a string holding the alias name or a numeric work area number of the open database file used by the DacPagedDataStore object. The parameter defaults to the current work area number.
<aFieldNames>
The fields to be accessed and held in the cache can optionally be specified using a one dimensional array holding strings of field names. If not specified, the DacPagedDataStore object caches all fields of the specified work area.
<a2DimArray>
When the data source is an array, and not a database file, the array must be two-dimensional and is passed as the first parameter to the method.
<aColumnIndex>
The optional parameter <aColumnIndex> is a one-dimensional array holding the numeric idexes for the columns of <a2DimArray> to be cached.
Return

The class method :new() returns a DacPagedDataStore object.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.