If this is an Access project and you're using a SQL Server back end, then IIF won't work; use a CASE statement.
Instead of "shipmode", you would enter "CASE [shipmode] WHEN 'AIR' THEN [duedate] + 30 WHEN 'OCEAN' THEN [duedate] + 60 END"
Rob
"gmenon100" <u24255[ at ]uwe> wrote in message news:636f79da1ffed[ at ]uwe...
[Quoted Text] >I am a novice to Access and I have a small Access project file and need to > use the below, can some help me with formulating : > > [subdate], [duedate] & [shipmode] being the fields in a query. > > i want to formulate > > [duedate] = if [shipmode] = "AIR", duedate + 30 days > if [shipmode] = "OCEAN" duedate + 60days
|