Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it crosstab?
Message
From
06/02/2004 07:33:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/02/2004 07:17:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00874770
Message ID:
00874771
Views:
8
>HI,
>I have a cursor result as this:
>
>
>cStaff        cMonth          nSum
>----------------------------------
>StaffA        January         1000
>StaffA        Febuary         1500
>StaffA        March           2000
>StaffA        April           4000
>StaffA        May             3300
>StaffB        January         1010
>StaffB        Febuary         1300
>StaffB        March           2300
>StaffB        April           4500
>StaffB        May             3000
>
>
>
>I want my cursor "transform" to this :
>
>
>cStaff   January  Febuary  March  April  May
>---------------------------------------------
>StaffA   1000     1500     2000   4000   3300
>StaffB   1010     1300     2300   4500   3000
>
>
>Any ideas? Can I use Corsstab for this purposes?
>
>Thank you

Yes it's crosstab :)
I'd suggest you to create your own crosstab for this purpose though.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform