By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,466 Members | 1,756 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,466 IT Pros & Developers. It's quick & easy.

Counting Records in a Qry

P: 1
I have a Qry which in one column calculates a result for each Record .

I would like to count the number of records which the result is greater than a value ie 5.

I have been trying to use a DCOUNT but i cannot seem to get it to work.

Does anyone have any ideas?

Thanks in advance
Mar 13 '08 #1
Share this Question
Share on Google+
2 Replies


MindBender77
100+
P: 234
Have your tried changing the criteria in your count column to: > 5

Bender
Mar 13 '08 #2

NeoPa
Expert Mod 15k+
P: 31,186
Assuming the query is called [qryName] and the field with the result in is called [Result] then :
Expand|Select|Wrap|Line Numbers
  1. DCount("*", "[qryName]", "[Result]>5")
Mar 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.