PRB: COPY TO ARRAY Causes Insufficient Memory Error (191923)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
This article was previously published under Q191923 SYMPTOMS
Using the COPY TO ARRAY command to copy fields to an array can cause an
insufficient memory error in Visual FoxPro 5.x and 6.0. If the number of
fields copied to the array multiplied by the number of records in the
database is greater than 65000, then an insufficient memory error occurs if
the array is not previously defined.
CAUSE
The array was not dimensioned prior to use.
RESOLUTION
Here are three workarounds for this problem:
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
REFERENCES
Microsoft FoxPro Help, serach on: "COPY TO ARRAY"
Microsoft FoxPro Help, search on: "DIMENSION"
Modification Type: | Major | Last Reviewed: | 6/19/2002 |
---|
Keywords: | kbprb KB191923 |
---|
|