If you redimension your array, you can get what you want.  After you create
the array with ALINES, redimension it like this:

DIMENSION aList[ALEN(aList,1),1]


cvals = "1,2,3"
ALINES(atest,cvals,1,",")
CREATE CURSOR xxx (f1 C(10))
DIMENSION atest[ALEN(aTest,1),1]
INSERT INTO xxx FROM ARRAY atest
BROWSE


Fred


On Thu, Jun 23, 2011 at 10:46 AM, MB Software Solutions, LLC <
[email protected]> wrote:

> On 6/23/2011 1:00 PM, Fred Taylor wrote:
> > INSERT FROM ARRAY puts 1 element per field, not multiple records.
>
>
> Aaah, so if I had an array 1 row by 15 columns, those 15 columns would
> turn into 15 records in the insert-cursor?  Not seeing a use for that
> (although I'm sure there is one somewhere).
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to