Results 1 to 3 of 3
  1. #1
    Mabid is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2017
    Posts
    10

    Query. New column with formula


    I have two dates columns in a query, I. E. Minimum and maximum, I want to create third column use iif to compare two columns with a third date eg jan 1 2017 "if maximum is less then and minimum is greater than jan 1, result Amount column, otherwise blank, my query results all blanks, need help please

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Post your attempted query SQL statement.

    If Minimum is always less than Maximum for each date pair, the condition you describe cannot exist, hence the blank results. The criteria makes no sense to me.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Mabid is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2017
    Posts
    10
    Thanks will post later. Regards

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

Similar Threads

  1. Replies: 2
    Last Post: 07-03-2017, 09:10 AM
  2. Replies: 2
    Last Post: 06-30-2016, 08:01 AM
  3. Replies: 4
    Last Post: 12-29-2015, 03:25 PM
  4. Replies: 19
    Last Post: 07-13-2015, 10:15 AM
  5. Replies: 41
    Last Post: 05-29-2015, 02:58 PM

Tags for this Thread

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