Option Button String value

grenee

Registered User.
Local time
Today, 12:25
Joined
Mar 5, 2012
Messages
212
Good Day all,

My frame name is "Frame1" with Option buttons "Circle" and "Square"; My code line : Name = me.Frame1
however "Name" get a value of 1 or 2 depending on the selection

Can anyone tell me how I can get a return of the String Values instead of the Numeric values.
 
you can't, you have to manually do it, ie:
if me.Frame1.Value = Null
Name = Null
else if me.Frame.Value = 1
Name = "Circle"
Else
Name = "Square"
End if
 
Thanks for the guidance; saved me trying so hard to find the solution. It worked but I used a case statement.
 

Users who are viewing this thread

Back
Top Bottom