Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bewildering Insert into ... From Array ... in VFP9
Message
 
To
14/04/2005 01:30:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01004474
Message ID:
01004488
Views:
12
This message has been marked as the solution to the initial question of the thread.
Hi Steven,

no, it's no bug. For appending array you need two dimenzial array and ALANGUAGE(acmd,1) return only one dimenzial array.
zap
ALANGUAGE(acmd,1)
DIME acmd(alen(acmd),1) && Redim to two dimenzial array
APPEND FROM ARRAY acmd
GO TOP
BROWSE
MartinJ

>A bug?
>
>CREATE CURSOR tmp (f1 c(250))
>select tmp
>ALANGUAGE(acmd,2)
>APPEND FROM ARRAY acmd
>GO TOP
>BROWSE
>
>zap
>ALANGUAGE(acmd,1)
>APPEND FROM ARRAY acmd
>GO TOP
>BROWSE
>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform