Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Access

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-24-2009, 02:54 AM
Novice
 
Join Date: Mar 2009
Posts: 1
Ezeecopy is on a distinguished road
Default If statements

Hi,

I am working in a sales database and need to compile an if statement with 2 arguments, I have the first part working:

=Count(IIf([Table1].[STATUS]=1,0))

This counts the records in a table that have status 1, but I also need to count those that have status 1 and the category field as 'Cold' (this is in the control source of a text box on a form).

This is my first time using this forum - so lets hope you can help me, I have been searching google and playing with this formula for 2 hours now, pleeeeeeease help!

Cheers,

Debbie



Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.