Results 1 to 4 of 4
  1. #1
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286

    Make query print YES or NO for certain Criteria

    Hello, I have a query that looks at a table showing what time a file comes in. if the file comes in today (Date()), then in a sperate column field, i want it to display YES for that row. if it did not come in today. then print NO on that column field for that particular row.

    not sure if this is possible. thanks for any help

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Should be easy, presuming the date the file came in is in a field:

    IIf(FieldName = Date(), "Yes", "No")
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286
    thank you!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    No problemo!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. How to make a nice print of forms
    By apfrezza in forum Forms
    Replies: 2
    Last Post: 11-23-2011, 09:03 AM
  2. Replies: 5
    Last Post: 10-26-2011, 02:59 PM
  3. Replies: 1
    Last Post: 07-13-2011, 11:00 AM
  4. Replies: 0
    Last Post: 02-22-2011, 05:04 AM
  5. Replies: 1
    Last Post: 07-30-2010, 10:28 AM

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