Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to Array Memory Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00799467
Message ID:
00799504
Vues:
23
Have you pre-DIMENSIONed the array (before the COPY TO... command)?

I was just reading this morning an entry in MSKB and this was one of the 'workarounds', and the most logical one I thought because COPY TO ARRAY looks like one of the few instances where and array should be pre-set (to handle a single or multiple records). A DIMENSION to anything 2-dimensional before the COPY is all that's needed.

The error only arises (per MSKB) when the record count of the table being copied * the number of fields exceeds 65,000 apparently whether all qualify or not.

good luck


>Greetings:
>
>I am using copy to array in VFP6 to duplicate set of records. My problem is the "not enough memory error to complete this operation" error. However after I press the OK button and do DISPLAY MEMORY the records have been copied.
>
>
>Is there some memory handling function I am missing?
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform