Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to array and error message #43
Message
 
 
À
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:
00467535
Vues:
12
Hi!

VFP Array supports only 65530 or such items only. Items, not records. If you have 6000 records and 11 or more fields, you're in trouble, because 6000*11 = 66000 > 65530...

>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.
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform