Re: Help with Case Statement
- From: "David Cox" <davidfcox@xxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 02:49:13 GMT
completely off the top of my head, untested, and long after my bedtime:-
iif(10*instr("abnormalnormalcase3case4",text1)+instr("redgreenvioletpink",text2)
in(11,whatever,whatever), "It is good","BAD")
<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
.
- Follow-Ups:
- Re: Help with Case Statement
- From: David Cox
- Re: Help with Case Statement
- References:
- Help with Case Statement
- From: lurch279
- Help with Case Statement
- Prev by Date: Re: Help with Case Statement
- Next by Date: Re: Updating Blank Field
- Previous by thread: Re: Help with Case Statement
- Next by thread: Re: Help with Case Statement
- Index(es):
Relevant Pages
|
|