Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_DataListDataList Base Class

Public Sub AllocateRows (
AllocateRowCount As Long
)

Allocate a chunk of new rows to the underlying storage array. Since allocation of new rows involves an expensive ReDim operation, it is quicker to allocate a block of space and allow new rows to fill it one at a time.
The DataList allocates a chunk or NewRowCreateBlockSize at a time, which defaults to 50.

AllocateRowCount as Long

The number of rows to allocate

Call Template:

Dim obj As New xf_DataList
obj.AllocateRows AllocateRowCount

See Also:

Example 1:

lst.AllocateRows 50
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd