the radio buttons in my option group have option values 1,2, and 3 respectively. I have the following code:
AfterUpdate event:
me!hypo = choose(me.frame1, "Yes","No","Unknown")
PS: hypo = table field name
OnCurrent event:
me.frame1 = switch(me.hypo = "Yes",1, me.hypo ="No",2, me.hypo ="Unknown",3)
NOW in my table, I have value "-1" being returned! Could someone please advise what I'm doing wrong here?
I need to fix this. Your help is greatly appreciated