Results 1 to 2 of 2
  1. #1
    Huddle is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Jun 2010
    Posts
    318

    IIF statement to determine first 6 months of the year


    I want to create an IIf statement that if [Forms]![Fm_Date_Parameter]![EndDate] is before July 1 of any given year then, 1 otherwise, 2. I'd appreciate any help in this.

  2. #2
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    iif(month([Forms]![Fm_Date_Parameter]![EndDate]) <= 6,1,2)

    should work for you.

    HTH

    John

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

Similar Threads

  1. Replies: 2
    Last Post: 04-15-2014, 08:43 AM
  2. Replies: 3
    Last Post: 02-23-2014, 02:06 PM
  3. Replies: 36
    Last Post: 08-19-2013, 11:38 AM
  4. Replies: 3
    Last Post: 05-12-2012, 04:52 AM
  5. Replies: 11
    Last Post: 08-04-2010, 04:26 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