Hello all,
I have a form that includes an option group (frame) with two radio buttons that correspond to two values in a value list for a table field with a type of text.
My goal is to have the user's selection determine which of the two text values appears in that field for that record.
The problem I am encountering is that it seems the radio buttons only return numeric values. I cannot get them to return the correct string to update the record appropriately. One button is returning "1" and the other is returning "2", so instead of the text string I want appearing in that field for the record after update I am getting the number 1 or 2.
Is it possible for a radio button to return a string? I assume I have to declare a variable and define it as whichever selection is made with the radio button, then convert that into the appropriate string and have that returned but I am really new to VBA and don't really know how to do this; I am toying around and all I get is errors.
I greatly appreciate any help offered. Thanks very much.