|
-
Mar 31st, 2001, 07:18 PM
#1
Thread Starter
Fanatic Member
Hi Everyone,
Is there a counting feature in MSAccess? I need to find out how many records there are for each member in a database table. Not, how many records there are all together. Any help would be appreciated. Thank you.
-
Mar 31st, 2001, 07:20 PM
#2
PowerPoster
Can't you use the Select Count(Member)
-
Mar 31st, 2001, 07:25 PM
#3
Thread Starter
Fanatic Member
Hi Lethal,
I have never used the Select Count feature before. Can you explain a little more about how to use it? Thanks.
-
Mar 31st, 2001, 07:27 PM
#4
PowerPoster
Ok, first let me try to get this straight. You want the count for a specific field, correct ?
-
Mar 31st, 2001, 07:31 PM
#5
Thread Starter
Fanatic Member
Each Member has their own ID. I want to count to see how many times that members' ID shows up inside of the table. Then I want to move on to the next Member to see how many times their ID shows up in the list, etc. Does this make sense? Thanks for your help.
-
Mar 31st, 2001, 07:34 PM
#6
PowerPoster
How bout:
Code:
"Select Count(*) as Memeber_Num from TABLENAME Where MemberID = 5"
Msgbox RS!Member_Num
-
Mar 31st, 2001, 07:38 PM
#7
Thread Starter
Fanatic Member
Thanks Lethal. I'll try it out right now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|