Re: On Time Delivery Query
- From: "John Torres" <johntorres@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Feb 2008 14:29:28 -0600
WOW.....Thanks for the quick response and it works. I was amazed!
"Al Campagna" <newsgroups@xxxxxxxxxxx> wrote in message news:%23RfXlnnbIHA.5164@xxxxxxxxxxxxxxxxxxxxxxx
John,
= IIf([ShipDate]<=DateAdd("d",-3,[DueDate]),"Early",IIf([ShipDate]>=DateAdd("d",-2,[DueDate]) And [ShipDate]<=[DueDate],"On Time","Late"))
Please check my syntax for "finger checks", but that should do it.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your life."
"John Torres" <johntorres@xxxxxxxxxxxxxxxxxxx> wrote in message news:AE539D76-7D35-4062-8F8B-1CCC160A6AC9@xxxxxxxxxxxxxxxxI'm trying to create a query for "On Time Delivery". I have query fields of PO, Date Received, Due Date and Date Shipped. I'd like to calculate EARLY (shipped 3 days early from the due date), On Time (Shipped on Due Date or 2 days early) and LATE (Shipped past Due Date) and on a business days only (excluding Saturday and Sunday). These are all coming from 3 different tables. I would appreciate any ideas.
Thanks,
John
.
- Follow-Ups:
- Re: On Time Delivery Query
- From: John Torres
- Re: On Time Delivery Query
- References:
- On Time Delivery Query
- From: John Torres
- Re: On Time Delivery Query
- From: Al Campagna
- On Time Delivery Query
- Prev by Date: Re: replace character in report
- Next by Date: Re: On Time Delivery Query
- Previous by thread: Re: On Time Delivery Query
- Next by thread: Re: On Time Delivery Query
- Index(es):
Relevant Pages
|