Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to array and error message #43
Message
De
24/01/2001 01:51:38
 
 
À
23/01/2001 15:20:14
Rasheed Al Rasheed
Riyadh Armed Forces Hospital
Riyadh, Arabie Saoudite
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00467530
Message ID:
00467772
Vues:
15
>Part of a save method, I have a routine which copy from a buffered table to an array. Recently the message 'There is not enough memory to complete this operation. error# 43' started appearing every time this routine is excuted. My first thought is that it is caused by the network, however, the message is occuring when using a non-networked PC with 128MB RAM. The file size which I am copying from is over 6000 records. Reducing the number of records to below 4000 makes the error message disappear. The maximum records usually copied to the array never exceeds 50 records with 8 fields only.
>I got round the problem by using a select statment instead, but array is more elegant in this situation. Any idead why such a message is happening.

An array cannot have > 65000 elements; 6500 rows x 10 cols, 13000 x 5, etc.

>Thanks
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform