It works! Thanks
>>In vfp 6, Can you "select sum(price) from thisdbf where x=y" and have the result go to a var?
>
>Try
>
>SELECT SUM(price) FROM thisdbf WHERE x=y INTO ARRAY laResult
>
>? laResult[1]
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."