Hi all..
Ok there are about a million access forms, but I figure I'll start here =)
I have a form that contains six groupings of three radio buttons:
Score1
N/A, Iron, Halo
Score2
N/A, Iron, Halo
...
I need to make this form store the information to print out on a report. So if Score1 has N/A and Score 2 has Halo it will be reflected on the report. Problem is, I dont know how to do this. I have created a select case like this:
Private Sub fraScore1_Click()
Dim Temp1
Temp1 = fraScore1
Select Case Temp1
Case 1
txtSight1TEST = "N/A"
Sight1 = "N/A"
Case 2
txtSight1TEST = "Iron"
Sight1 = "Iron"
Case 3
txtSight1TEST = "Halo"
Sight1 = "Halo"
Case Else
MsgBox ("Case Select Error. Please contact your Systems Administrator"
End Select
End Subct
End SubSub
This works to the exent when they click a frame containing option buttons, the button will store NA, Iron or Halo in record "Sight"x . Problem is, the option button stays greyed like its still being pushed. When I advance to a different record and come back the buttons are all grey although the correct information is still in the Sight record. Is there a more efficent way to accomplish this? It seems like a very basic task, but I seem to be stuck... thanks in advance.... All I need is to be able to change record values based on option buttons....
Ok there are about a million access forms, but I figure I'll start here =)
I have a form that contains six groupings of three radio buttons:
Score1
N/A, Iron, Halo
Score2
N/A, Iron, Halo
...
I need to make this form store the information to print out on a report. So if Score1 has N/A and Score 2 has Halo it will be reflected on the report. Problem is, I dont know how to do this. I have created a select case like this:
Private Sub fraScore1_Click()
Dim Temp1
Temp1 = fraScore1
Select Case Temp1
Case 1
txtSight1TEST = "N/A"
Sight1 = "N/A"
Case 2
txtSight1TEST = "Iron"
Sight1 = "Iron"
Case 3
txtSight1TEST = "Halo"
Sight1 = "Halo"
Case Else
MsgBox ("Case Select Error. Please contact your Systems Administrator"
End Select
End Subct
End SubSub
This works to the exent when they click a frame containing option buttons, the button will store NA, Iron or Halo in record "Sight"x . Problem is, the option button stays greyed like its still being pushed. When I advance to a different record and come back the buttons are all grey although the correct information is still in the Sight record. Is there a more efficent way to accomplish this? It seems like a very basic task, but I seem to be stuck... thanks in advance.... All I need is to be able to change record values based on option buttons....