I figured out what I did wrong. The code I listed was in the LOAD event instead of ACTIVATE. Thanks for your help, though.
Ken
>Ken,
>
>It's much easier to do with a query.
SELECT * FROM mytable ;
> INTO ARRAY myarray
>
>>I'm trying to load an array with the contents of a table. The table has 5 records and four fields. My code is:
>>DIMENSION myarray(5,4)
>>SELECT mytable
>>GO TOP
>>COPY TO ARRAY myarray
>>DISPLAY MEMORY LIKE MYARRAY = nothing.
>>If I dimension the array(4,4) the first 4 records populate the array.
>>
>>What am I doing wrong?
>>
>>Thanks.