| Parameter: | ReadAhead |
|---|---|
| Purpose |
This is the number of rows to retrieve from the ADO RecordSet. Set to 0 to disable ReadAhead. ReadAhead is a parameter of the AddRS_ADO methods. |
| Example |
myXLS_obj.AddRS_ADO Rs1, 50 'Read 50 rows a time or myXLS_obj.AddRS_ADO Rs1, 0 ' Disable ReadAhead |
| Description |
Using ReadAhead can result in dramatic speed savings, especially on slower computers or computers with slow or network database connections. example: If ReadAhead = 100 and there are 830 rows in the RecordSet then the RecordSet will be queried 9 times. Each time 100 rows will be read into memory. |
| Notes |
|
| Confused? Just ask us | Online
Docs Table of Contents |
(c) 2000-2003 Optimized Software Canada Inc. All Rights Reserved.
Microsoft® Excel is a Registered Trademark of Microsoft Corporation.