>Hi,
>I have a local view cstView with 3 fields (f1 c(5), f2 c(5), f3 n(10)) and when i try to select a sum it does not work.
>
>The sql looks like this
>Sele f1,sum(f3) from cstView into array thisform aSumf1 group by 1
>
>and thet return .f. most of the times.
>
>
>Thanks
For debugging purposes, try selecting into a cursor first, and see what happens.
Oh, and try using an array that is not a property of ThisForm. The correct syntax in VFP, for an array property, would be "into array ThisForm.aSumf1", but I don't know whether this works.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)