We help IT Professionals succeed at work.
Get Started

Need to assign values to a series of option buttons in MS Access then sum the total

jdershewitz
jdershewitz asked
on
392 Views
Last Modified: 2013-11-28
I have a Microsoft Access 2007 database with 4 forms.  Each form has a question with 5 option buttons below it.  A user selects an option, then hits command button “Enter”.  That form closes and the next form opens.  The option buttons all have point values:

Option a = 1 point
Option b =  2 points
Option c = 3 points
Option d = 4 points
Option e = 5 points

Example:

Question 1: What is your favorite sport?

a.      Football
b.      Basketball
c.      Hockey
d.      Baseball
e.      None

So if the user selects option c they get 3 points

Again, there are 4 forms, so 4 total questions.  

I would like to add up all the points from all 4 forms, then at the end say something like “you have [x] points total”.  

I'm totally lost.  Can this be done with a series of case statements? Is this possible since each question and option group is on a different form? Or do I need to store all the values in some table? Help!

Thanks
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2013
Commented:
This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE