WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

count in report

 
   Home -> Office other -> Getting Started RSS
Next:  Getting Started: automatic creation of new fields from records in a separat..  
Author Message
clcnewtoaccess

External


Since: Nov 06, 2007
Posts: 7



(Msg. 1) Posted: Thu Jul 24, 2008 6:18 am
Post subject: count in report Add to elertz
Archived from groups: microsoft>public>access>gettingstarted (more info?)

I can create a count on a field in a report but is there a way to force it to
only count specific names from that field.
Example: the field is tool_code which has up to 50 different tool codes
such as HF, HB, STFB, NCT...... and I only want the count of NCT's to show
up in my report.

Hope this makes sense!
--
clcnewtoaccess
Back to top
Login to vote
Wayne-I-M

External


Since: May 21, 2006
Posts: 2633



(Msg. 2) Posted: Thu Jul 24, 2008 7:15 am
Post subject: RE: count in report Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

=Count(IIf([FieldName]="NCT",1))

--
Wayne
Manchester, England.



"clcnewtoaccess" wrote:

> I can create a count on a field in a report but is there a way to force it to
> only count specific names from that field.
> Example: the field is tool_code which has up to 50 different tool codes
> such as HF, HB, STFB, NCT...... and I only want the count of NCT's to show
> up in my report.
>
> Hope this makes sense!
> --
> clcnewtoaccess
Back to top
Login to vote
fredg

External


Since: Jan 30, 2004
Posts: 4458



(Msg. 3) Posted: Thu Jul 24, 2008 8:13 am
Post subject: Re: count in report Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 24 Jul 2008 06:18:01 -0700, clcnewtoaccess wrote:

> I can create a count on a field in a report but is there a way to force it to
> only count specific names from that field.
> Example: the field is tool_code which has up to 50 different tool codes
> such as HF, HB, STFB, NCT...... and I only want the count of NCT's to show
> up in my report.
>
> Hope this makes sense!

=Sum(IIf([ToolCode]="NCT",1,0))
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Getting Started All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET