Hi forum,
I Have 3 options in a string. Weekly, Fortnightly and Monthly and I want to replace these with Week, Fortnight and Month accordingly.
iif([LDPayFre] ="Fortnightly", "Fortnight", "Week") works for two. How to get the third in ??
As I typed this I also realised I could remove the last two chrs from the right hand side of the string [LDPayFre] but if I can be pointed in th eright direction for the iif statement variation please do so.
Here is the query field expression
Line03: "every " & (IIf([LDPayFre]="Fortnightly","Fortnight","Week")) & " for the next " & [LDPayNo] & " pay periods."
I Have 3 options in a string. Weekly, Fortnightly and Monthly and I want to replace these with Week, Fortnight and Month accordingly.
iif([LDPayFre] ="Fortnightly", "Fortnight", "Week") works for two. How to get the third in ??
As I typed this I also realised I could remove the last two chrs from the right hand side of the string [LDPayFre] but if I can be pointed in th eright direction for the iif statement variation please do so.
Here is the query field expression
Line03: "every " & (IIf([LDPayFre]="Fortnightly","Fortnight","Week")) & " for the next " & [LDPayNo] & " pay periods."