Peter Paul
Registered User.
- Local time
- Today, 20:18
- Joined
- Jan 1, 2000
- Messages
- 82
Ok, let me try to explain:
I have a field, Offense_Status which needs to have either A - Attempted or C - Completed put into it. I would like to have option buttons for the choice. The book I am using says that I can have the option button enter A or C for true or false, but I cannot get that to work.
So, I decided on a simple workaround. On Got Focus on the first option button I input
If True Then Offense_Status = "A"
(and on the second button)
If True Then Offense_Status = "C"
This works. But, if someone goes back into the form to revise or to look at it, neither of the buttons is true.
So, on the Open event for the Form, I tried
Iif Offense_Status = "A", Option91 = True, Option93 = True
I tried a miriad of options here, but have not gotten it to work. I am assuming that there is a simple way to make this happen, and that I am just missing it.
As always, thank you in advance for your assistance,
Peter Paul
I have a field, Offense_Status which needs to have either A - Attempted or C - Completed put into it. I would like to have option buttons for the choice. The book I am using says that I can have the option button enter A or C for true or false, but I cannot get that to work.
So, I decided on a simple workaround. On Got Focus on the first option button I input
If True Then Offense_Status = "A"
(and on the second button)
If True Then Offense_Status = "C"
This works. But, if someone goes back into the form to revise or to look at it, neither of the buttons is true.
So, on the Open event for the Form, I tried
Iif Offense_Status = "A", Option91 = True, Option93 = True
I tried a miriad of options here, but have not gotten it to work. I am assuming that there is a simple way to make this happen, and that I am just missing it.
As always, thank you in advance for your assistance,
Peter Paul