>I have about 1000 records in a table ordered by the mainkey field. i.e.
>
>
>Mainkey
>---------
>Neil01 Cutting
>Neil02 Costing
>Neil02 Made
>Neil02 Sent
>
>
>everytime the mainkey changes when I scan down the table I want to append a record in another table with the value of mainkey.
>
>How can i do this easily??
VFP9:
insert into OtherTable ;
(fieldName) ;
select distinct MainKey from thisTable
PS: I also prefer 'scan...endscan'.
Cetin