AbsoluteBeginner
New member
- Local time
- Today, 15:00
- Joined
- Jul 9, 2009
- Messages
- 2
Hi there,
Apologies in advance for my lack of Access terminology, but I was wondering if somebody could help with a problem I have.
I have a form with 3 fields. The first field is titled "Cost" and the second titled "Certainty", based on the attached matrix.
What I would like to see in the third field is a automatically-populated value from the matrix when the two previous fields are populated,
i.e. If "Cost" = 2 and "Certainty" = 4, 56 is the result.
I've tried building an expression along the lines of:
IIf([Cost]=0 And [Certainty]=1, "0",IIf([Cost]=0 And [Certainty]=2, "0",IIf([Cost]=0 And [Certainty]=3, "0",IIf([Cost]=0 And [Certainty]=4, "0",IIf([Cost]=0 And [Certainty]=5, "0"........etc. but am told this is too complex.
Is there some kind of Lookup function I could use to make the job a lot simpler? Suggestions on how to go about this will be gratefully received!
Many thanks,
AB
Apologies in advance for my lack of Access terminology, but I was wondering if somebody could help with a problem I have.
I have a form with 3 fields. The first field is titled "Cost" and the second titled "Certainty", based on the attached matrix.
What I would like to see in the third field is a automatically-populated value from the matrix when the two previous fields are populated,
i.e. If "Cost" = 2 and "Certainty" = 4, 56 is the result.
I've tried building an expression along the lines of:
IIf([Cost]=0 And [Certainty]=1, "0",IIf([Cost]=0 And [Certainty]=2, "0",IIf([Cost]=0 And [Certainty]=3, "0",IIf([Cost]=0 And [Certainty]=4, "0",IIf([Cost]=0 And [Certainty]=5, "0"........etc. but am told this is too complex.
Is there some kind of Lookup function I could use to make the job a lot simpler? Suggestions on how to go about this will be gratefully received!
Many thanks,
AB