Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting and Identifying Values
Message
From
04/06/2001 11:39:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/06/2001 10:59:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00514598
Message ID:
00514616
Views:
9
>I’m stuck. I have a table with about 30 fields. Each contains numeric values ranging from 0-5. I need to COUNT each value, on each field. It should looks something like this:
>Vals. Fld1 Fld2 ....etc.
>0_____30____55_____….
>1_____24____10_____….
>2_____16____55_____….
>3_____33____98_____….
>4_____77____22_____….
>5_____80____180____….
>
>
>I want to be able to do this in the least typing possible, that’s why I thought of a query. Now, I know selecting the count is not the problem, but identifying the values of each count is what I can’t figure out.
>thanks in advance

Edgar,
I'm not sure I understood it. Would you get something like :

0 = 30+55...
1 = 24+10... ?

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
Next
Reply
Map
View

Click here to load this message in the networking platform