Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transpose data best practice
Message
From
23/08/2002 14:10:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Transpose data best practice
Miscellaneous
Thread ID:
00693069
Message ID:
00693069
Views:
69
Hi all,

Is there a best practice to transpose data in VFP based on a column or columns
Example: Transpose data by F4, then F1
Table1
F1   F2   F3  F4
AAA   1    1  8/22/02
AAA   2    1  8/22/02
AAA   3    1  8/22/02
BBB   1    1  8/22/02
BBB   2    1  8/23/02
CCC   3    1  8/23/02

Result:

F4       F2 F3AAA F3BBB F3CCC 
8/22/02   1     1     1     -
8/22/02   2     1     1     -
8/22/02   3     1     -     -
8/23/02   2     -     1     -
8/23/02   3     -     -     1
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform