>Hello,
>
>Suppose I have such data:
>Month, Customer, Amount, Sum
>
>I need report like MS Excel Pivot Table:
>Customer, Amount_Month_1, Sum_Month_1, Amount_Month_2, Sum_Month_2, etc.
>
>Is there any command to solve this task in VFP8?
>
>Or I have to code this manually?
>
>Thanks in advance,
Like Pivot? but not Pivot? Then check crosstab (do (_genxtab) with ...).
If you don't have Excel installed and want to do a Pivot then alternatively you could use OWC.Pivottable (freely downloadable). On MSDN help check Office Web Components.
Cetin