?
Solved

Microsoft Access query help

Posted on 2014-07-25
4
Medium Priority
?
312 Views
Last Modified: 2014-07-25
I need this query modified to only give me those softslips where the action date is 14 days prior to the availability date.

PARAMETERS [forms]![frmswitchboard]![txtStartDate] DateTime, [forms]![frmswitchboard]![txtEndDate] DateTime; SELECT SoftSlip,  Species.Species,Availability, actiondate, SoftSlips.Location FROM Species INNER JOIN SoftSlips ON Species.SpeciesID = SoftSlips.SpeciesID WHERE (((SoftSlips.ActionDate) Between forms!frmswitchboard!txtStartDate And
forms!frmSwitchboard!txtEndDate) And ((SoftSlips.ImpoundCode) Not In
("ocsd","pcd","ocrd","acord","acosd")))
and location = "South Bay"  AND Availability > ActionDate order by species
0
Comment
Question by:J.R. Sitman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Dale Fye earned 1600 total points
ID: 40220210
Replace:  AND Availability > ActionDate

With: AND ActionDate  = DateAdd("d", -14, [Availability])
0
 

Author Comment

by:J.R. Sitman
ID: 40220566
perfect.
0
 

Author Closing Comment

by:J.R. Sitman
ID: 40220567
thanks
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 40220757
glad to help.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question