Link to home
Start Free TrialLog in
Avatar of J.R. Sitman
J.R. SitmanFlag for United States of America

asked on

Microsoft Access query help

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
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of J.R. Sitman

ASKER

perfect.
thanks
glad to help.