Hi,
I'm pretty new to VBA. I have created a form (in Access) called frmMain. on it I have a frame called fraDays. In this frame I have 5 option buttons. I want to find which is selected and select a string based on that.
I have declared and set the form:
Dim frmMain As Form
Set frmMain = Forms("frmMain" Set frmMain = Forms("frmMain"
but I am unable as yet to work out how to access the frame or, when I do, tell which option is selected. could someone please help (my head is hurting)
Thanx
FrankX
I'm pretty new to VBA. I have created a form (in Access) called frmMain. on it I have a frame called fraDays. In this frame I have 5 option buttons. I want to find which is selected and select a string based on that.
I have declared and set the form:
Dim frmMain As Form
Set frmMain = Forms("frmMain" Set frmMain = Forms("frmMain"
but I am unable as yet to work out how to access the frame or, when I do, tell which option is selected. could someone please help (my head is hurting)
Thanx
FrankX