Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving data from 1 column to another
Message
From
09/12/1999 10:12:50
 
 
To
09/12/1999 10:03:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00300964
Message ID:
00300976
Views:
21
Kevin,

Could you clarify this question a bit? Are you asking for help on creating a conditional SQL statement?


>VFP 6.0
>
>How do I take one column and move it to another column when I encounter what acctg_prd it sees.
>
>for example
>
>(there is other column not shown in this example that need to be include in the query)
>
>acctg_prd trans_amt
>0100 45.00
>0200 4.00
>0300 23.00
>
>results are:
>acctg_prd trans_amt 1 2 3 4
>0100 45.00 45.00
>0200 4.00 4.00
>0300 23.00 23.00
>
>
>Thanks
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform