Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count record
Message
From
02/09/2004 13:34:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Count record
Miscellaneous
Thread ID:
00938858
Message ID:
00938858
Views:
63
hi all,

how i can count records for evry team via my code,
SET TALK OFF
SET ECHO OFF
SET SAFETY OFF
PUBLIC s
USE table1
s=0
m.no=areacode
m.ns=team
DO WHILE .t. and m.ns=team
COUNT TO k FOR team=m.ns
? m.ns,areacode
skip
? m.ns

IF team<>m.ns
m.ns=team
s=s+1

? s
IF EOF()
EXIT
ENDIF
ENDIF
enddo
thanks.
m.qasem
Next
Reply
Map
View

Click here to load this message in the networking platform