Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    364

    Unanswered: Simple Query problem!

    I need to work out within a query whether a library book is overdue.

    I have the fields CODE, Date_issued, Date_Due_For_Return, Date_Actually_Returned.

    I have a checkbox which I want to be ticked when the DATE_ACTUALLY_RETURNED is longer than the DATE_DUE_FOR_RETURN.

    Any ideas?

    Cheers

  2. #2
    Join Date
    Dec 2002
    Location
    Préverenges, Switzerland
    Posts
    3,740
    simple way...

    top row in the first empty column of the query design grid: type
    wasLate: iif([DATE_ACTUALLY_RETURNED]>[DATE_DUE_FOR_RETURN], True, False)

    izy
    currently using SS 2008R2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •