Results 1 to 7 of 7
  1. #1
    Emma35 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Ireland
    Posts
    65

    Combo Box Problem

    Hi All,


    I'm conducting a survey using Access to record the opinions of the staff here on site. There are 10 questions which allow the user to select an answer to each using a combo box (which has 4 choices). For some odd reason, when i make a selection using the combo box but then decide to change my mind, the combo box won't let me change my answer. it just stays at the original value

    I'd be grateful for any assistance
    Thanks
    Em

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,928
    That is a bit like saying 'I've got a red car, it has four wheels but it won't start - why?' we would need to know about your form design, form recordsource SQL and any form code/macros to provide any targeted assistance. Suggest you look at these three things to find the problem

  3. #3
    Emma35 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Ireland
    Posts
    65
    Ok my apologies...be better if i just upload it. The form i'm having difficulty with is FrmQuestions

    Thanks
    Attached Files Attached Files

  4. #4
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,928
    it is because your rowsource is incorrect. You have

    0;"10 Kph";0;"20 Kph";5;"15 Kph";0;"30 Kph"

    so all but option '15 kph' are 0 and access will take the first occurrence of 0. - if you select 15 kph, the value changes

    I don't know if there is any significance in the numbers (some weighting perhaps?) but

    0;"10 Kph";1;"20 Kph";5;"15 Kph";3;"30 Kph"

    will work

  5. #5
    Emma35 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Ireland
    Posts
    65
    Thanks for your help....it's because three answers are wrong and only one is right. Five points for a correct answer and none for an incorrect one. Is there any way around this ?

  6. #6
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,928
    suggest use

    -1;"10 Kph";-2;"20 Kph";5;"15 Kph";-3;"30 Kph"

    and in your calcs use iif(answer<0,0,answer)

  7. #7
    Emma35 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Ireland
    Posts
    65
    Ok will do....thanks again

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Combo box problem
    By dkatorza in forum Access
    Replies: 2
    Last Post: 11-09-2011, 06:19 PM
  2. problem with combo box
    By ds_8805 in forum Forms
    Replies: 2
    Last Post: 03-24-2010, 10:02 PM
  3. combo box problem
    By ngeng4 in forum Forms
    Replies: 15
    Last Post: 03-23-2010, 09:03 PM
  4. Combo Box problem
    By Rick West in forum Forms
    Replies: 3
    Last Post: 03-18-2010, 04:42 PM
  5. Combo box look-up problem
    By Samdaman in forum Forms
    Replies: 0
    Last Post: 12-14-2009, 02:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums