kbushon2006
New member
- Local time
 - Yesterday, 19:33
 
- Joined
 - Jun 20, 2017
 
- Messages
 - 3
 
Hi,
I am trying to calculate the date a shipment will arrive at site depending on if it goes by Ocean, Vessel, Air or Truck. I need to write a statement for a report that states something like:
IIf [Planned MOT] like "Ocean" or "Vessel" Then [Site ETA] = [Forecast Ship Date] + 56
Else [Site ETA] = [Forecast Ship Date] +14.
I just cannot get the syntax correct. I have not used MS Access in a long time and am struggling.
 I am trying to calculate the date a shipment will arrive at site depending on if it goes by Ocean, Vessel, Air or Truck. I need to write a statement for a report that states something like:
IIf [Planned MOT] like "Ocean" or "Vessel" Then [Site ETA] = [Forecast Ship Date] + 56
Else [Site ETA] = [Forecast Ship Date] +14.
I just cannot get the syntax correct. I have not used MS Access in a long time and am struggling.