I have a query in Access, that is going to a report, that is then exporting to Excel.
One of my fields, in the Exported File needs to return text: "Day", Night", "Sat", "Sun" etc based on character values in one field in another table.
I would like to write an Iif statment that allows me to do Iff - Then - Else & start a new If statement, or however it works.
Below is the current formula - how do I expand this?
Shift Type: IIf(dbo_Invoice_Detail!Sub_Pay_Type="A","Day"," ")
I normally use Crystal & it's so much easier with words!!
Cheers Alex
One of my fields, in the Exported File needs to return text: "Day", Night", "Sat", "Sun" etc based on character values in one field in another table.
I would like to write an Iif statment that allows me to do Iff - Then - Else & start a new If statement, or however it works.
Below is the current formula - how do I expand this?
Shift Type: IIf(dbo_Invoice_Detail!Sub_Pay_Type="A","Day"," ")
I normally use Crystal & it's so much easier with words!!
Cheers Alex