D
DIY
Hi All,
Can anyone help please?
I have a Field called (Staff Trade) ~ showing the Trade Type of a staff and
Staff Code ~ showing the Staff Id
Staff Trade can be a letter A, B, C, D, etc.
I am trying to create a statement that says,
If the staff trade = “A†and Staff Code starts with a “7†then make the
value “WNâ€, else leave the original value, i.e., B,C,D etc.
This is what I have so far which works for the first part of the argument,
i.e., it changes anything starting with “7†to “WCâ€.
=IIf([STAFF TRADE]="A" And [Staff Code] Like "7*","WN", …)
I am struggling with the second part of the statement to leave the original
value, B, C, D, etc.
Kind regards,
Can anyone help please?
I have a Field called (Staff Trade) ~ showing the Trade Type of a staff and
Staff Code ~ showing the Staff Id
Staff Trade can be a letter A, B, C, D, etc.
I am trying to create a statement that says,
If the staff trade = “A†and Staff Code starts with a “7†then make the
value “WNâ€, else leave the original value, i.e., B,C,D etc.
This is what I have so far which works for the first part of the argument,
i.e., it changes anything starting with “7†to “WCâ€.
=IIf([STAFF TRADE]="A" And [Staff Code] Like "7*","WN", …)
I am struggling with the second part of the statement to leave the original
value, B, C, D, etc.
Kind regards,