LoadAllRecords Property

Gets or sets whether all records should be requested from Openlook when loading an OA grid.

   OpenAccess-enabled controls only.

object.LoadAllRecords = [boolean]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and boolean is a boolean expression that evaluates to either True or False, as described in Settings.

Client support

   Newlook Server only.

Use

This property only applies to OpenAccess grids where there is a known number of records (determined by the DDS ROLLUP/ROLLDOWN keywords).

By default, this property is False, to prevent delays in screen loading for OA grids containing a large numbers of records. If you know that your subfile only has a small number of records then you may wish to set this property to True.

Settings

Setting

Description

True

Load all records in the grid and display the resulting grid as a scrollable grid. Request and load records in batches of the size specified in BlockSize.

False

(Default) Load only the number specified in the BlockSize property. The grid will render as a paged grid. When the user clicks the Next Page button, the next batch of records will be loaded into the grid.

Limitations

This property only applies to Open Access-enabled grids.

See Also

BlockSize Property | OnAllRecordsLoaded property

Applies To

DataGrid control


© 2004-2021 looksoftware. All rights reserved.