B
BigPig
Hi all,
I don't know a lot about access, but I am very familiar with excel.
I'm trying to take the value of an option group (1,2,3) in a form, and
update a field in a table to a string (Yes, No, NA). I've tried the IIF
statement in "before update", but I'm not 100% how to get that to work.
"=IIf([fme_Priv_Health_Ins]=1,"Yes",IIf([fme_Priv_Health_Ins]=2,"No","NA"))"
I think that I have to tie it to the table and field that I want entered.
I've also read about referencing a table, so I created one "tbl_Yes_No_NA",
but I don't know how to reference it.
I thought about going into vba to do it, but I'm thinking there has to be a
way to do it without macros.
If anyone could point me in the right direction, it would be greatly
appreciated. Thanks.
I don't know a lot about access, but I am very familiar with excel.
I'm trying to take the value of an option group (1,2,3) in a form, and
update a field in a table to a string (Yes, No, NA). I've tried the IIF
statement in "before update", but I'm not 100% how to get that to work.
"=IIf([fme_Priv_Health_Ins]=1,"Yes",IIf([fme_Priv_Health_Ins]=2,"No","NA"))"
I think that I have to tie it to the table and field that I want entered.
I've also read about referencing a table, so I created one "tbl_Yes_No_NA",
but I don't know how to reference it.
I thought about going into vba to do it, but I'm thinking there has to be a
way to do it without macros.
If anyone could point me in the right direction, it would be greatly
appreciated. Thanks.