Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement