Re: Help with Case Statement
- From: "Duane Hookom" <DuaneAtNoSpanHookomDotNet>
- Date: Wed, 30 Aug 2006 21:46:02 -0500
Can you create small lookup table with unique values of txtText1 and
txtText2 with the resulting text3 value. Then just join this lookup and
maintain data rather than expressions.
--
Duane Hookom
MS Access MVP
<lurch279@xxxxxxxxxxxx> wrote in message
news:1156985328.406157.118530@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi folks!
I have two fields in a query txttext1 and txttext2 that I would like to
evaluate and based upon the result put a value in txttext3.
What I would like to do is call a function within my Access 2000 query
that would take a value of text1 and a value from text2 and give me a
'return' in text3
So if text1 = "Abnormal" and text2 = "red" then text3 = 'It is good"
but if text1 = "Normal" and text2 = "Green" then text3 = "This is not
good"
I cannot use iif as I will need about 15 nested iif's (plus it'd
confuse the hell outa me) - I have alot to compare :(
I can do this if I evaluate just one field but I don't have the 'know
how' to add a second evaluation.....I'm just a beginner!!
Any help you guys could provide would be MOST appreciated!!
Thanks!
Lurch
.
- References:
- Help with Case Statement
- From: lurch279
- Help with Case Statement
- Prev by Date: Re: comparing rows in a query
- Next by Date: Re: Help with Case Statement
- Previous by thread: Help with Case Statement
- Next by thread: Re: Help with Case Statement
- Index(es):
Relevant Pages
|
|