Hi,
I'm afraid i've got the wrong syntax here and wonder if i can get some help here.
In one of the combo-boxes's control source, i have the following code
=iif([Subject Code] = "O",dlookup("[J_ID]","Rate Department","[J_ID] = 'Team*'",dlookup("[J_ID]","Rate Department","[J_ID] <> 'Team*'"))
[Subject Code] is the name of another combo-boxes.
I tried 'like' eg. [J_ID] LIKE 'Team*'" but didn't like it.
Wonder what would be the correct syntax for this to work.
Thank you in advance
I'm afraid i've got the wrong syntax here and wonder if i can get some help here.
In one of the combo-boxes's control source, i have the following code
=iif([Subject Code] = "O",dlookup("[J_ID]","Rate Department","[J_ID] = 'Team*'",dlookup("[J_ID]","Rate Department","[J_ID] <> 'Team*'"))
[Subject Code] is the name of another combo-boxes.
I tried 'like' eg. [J_ID] LIKE 'Team*'" but didn't like it.
Wonder what would be the correct syntax for this to work.
Thank you in advance