? calculate( avg( mycursor.a ) ) average mycursor.a to myAverageIn order to do what you want to achieve, you can manually calculate the average. Also, there is no need for a scan...endscan, use VFP scopes instead, as in
select MyCursor replace all MyCursor.C with ( MyCursor.a + MyCursor.b ) / 2HTH
select mycursor >scan >replace mycursor.c with (avg(mycursor.a,mycursor.b)) in mycursor >endscan>What can I do?