Hey there,
I have a query with the following iif statement.
Adj Interval Time: IIf([Interval Time]=#12:00:00 AM#,#11:00:00 PM#,IIf([Interval Time]=#12:30:00 AM#,#11:30:00 PM#,[Interval Time]))
My goal is to subtract one hour from [Interval Time] for the else portion of the statement.
Something like this but need to specify the hour...
Denver Adj Interval Time: IIf([Interval Time]=#12:00:00 AM#,#11:00:00 PM#,IIf([Interval Time]=#12:30:00 AM#,#11:30:00 PM#,[Interval Time]-1))
Hope that makes sense.
Thanks
Tuk
I have a query with the following iif statement.
Adj Interval Time: IIf([Interval Time]=#12:00:00 AM#,#11:00:00 PM#,IIf([Interval Time]=#12:30:00 AM#,#11:30:00 PM#,[Interval Time]))
My goal is to subtract one hour from [Interval Time] for the else portion of the statement.
Something like this but need to specify the hour...
Denver Adj Interval Time: IIf([Interval Time]=#12:00:00 AM#,#11:00:00 PM#,IIf([Interval Time]=#12:30:00 AM#,#11:30:00 PM#,[Interval Time]-1))
Hope that makes sense.
Thanks
Tuk