Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count the records
Message
From
21/08/2007 10:10:26
 
 
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:
01249365
Views:
12
>thanks your reply
>
>SELECT date,code,lcode,sec, ;
> CAST(sum(IIF(category=="A",1,0)) AS I) A,;
> CAST(sum(IIF(category=="P",1,0)) AS I) P,;
> CAST(sum(IIF(category=="L",1,0)) AS I) L;
> FROM dlyatten;
>I want to count only record in this line
>CAST(sum(IIF(category=="A",1,0)) AS I) A,;
>If A in present in date(in sequential)1,2,3,4,5,6 dates Not count If 1,4,6,7

I'm sorry, but I don't understand. The best is if you can show us some data, and the result you want.
Previous
Reply
Map
View

Click here to load this message in the networking platform