From the Help file:
Do not include TO with MEMVAR. Visual FoxPro creates an array named MEMVAR if you include TO.
>All,
>
> I have a table from SQL Server that I am trying to copy to a foxpro cursor with the same structure. I am using a scan loop with the scatter command and then inserting the memvar into the cursor allthough this is not working. The code is below.
>
>
> SCAN
> scatter memo to memvar
> insert into curmpart from memvar
> ENDSCAN
>
>
>Is there a better way of doing the same thing?