Results 1 to 2 of 2
  1. #1
    SueO is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1

    Smile Multiple IIfs


    In my report I want to leave certain information out. The query name is 'qryAGRESSOSubProjectCodes', the field name is 'CostCentre' and the report name is 'rptAGRESSOSubProjectCodes'. In the field 'CostCentre' I want a blank ("") return if the CostCentre = "500 685 101" also if it = "500 686 101" and also if it = "500 688 101". All the others I want to see. I think I am making a mess of using IIf, so if there is anyone who can help I will be eternally grateful. Many thanks.

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    In the query u need to cReate a calculative Field called CostCenter1 with the following Expression:

    iif([CostCentre]="500 685 101" Or [CostCentre]="500 686 101" Or [CostCentre]="500 688 101","",[CostCentre])

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 05-25-2010, 02:45 PM
  2. Replies: 5
    Last Post: 12-10-2009, 10:33 PM
  3. Replies: 1
    Last Post: 12-10-2009, 08:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums