Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create cursor from array (with memo)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00506806
Message ID:
00506810
Vues:
19
Hi!

You cannot do this directly with a sinle command. Creating cursor and appending it using APPEND FROM ARRAY command cannot help too because it does not works with memo fields. I guess you require to make a loop with GATHER command:
for i = 1 to alen(myArray,1)
  gather from myArray MEMO
endfor
This, again requires to create the cursor with base structure.

HTH.

>Hello!
>
>Is there any way to create a cursor from array , where one position of the avector is a field with more than 256 characters?
>Im tring this:
>
>DIMENSION myArray(1)
>myArray(1) = REPLICATE('p',900)
>CREATE CURSOR MyCursor FROM ARRAY myArray
>
>TIA
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