Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count the records
Message
From
21/08/2007 05:51:48
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249295
Message ID:
01249297
Views:
21
>In my table"dly" have fileds "code,date,cat" In cat filed I am inserintg "A" ,"P"
>I want to count the records If:
>When a "code" with "date" have 6 "A" How to count this like this
>
>code date cat
>111 21/08/07 A
>111 22/08/07 A
>111 23/08/07 A
>111 24/08/07 A
>111 25/08/07 A
>111 26/08/07 A

What do you mean [When a "code" with "date" have 6 "A"]?

Do you mean [When same code is in 6 records with cat="A"]?

Where does the date field come into it? In your example there are 6 different dates.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform