On Tue, 20 May 2008 09:28:47 -0700 (PDT), Chris R. wrote:
On 20 Mai, 17:35, "ruralguy via AccessMonster.com" <u12102@uwewrote:
>Look at the Choose() function.
thanks. In German it is called wahl() but that was exactly I'm looking
for.
=wahl([fieldname];"red";"blue";"yellow")
greetz
chris
Choose() is good!
Just for your general information .... in addition to using Choose(),
you could also have used IIf().
=IIF([OptionValue] = 1,"red",IIf([OptionValue]= 2,"blue","yellow"))
and if you have lots of options, Select Case in VBA code.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail