Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create cursor from array (with memo)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00506806
Message ID:
00506810
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform