Results 1 to 4 of 4
  1. #1
    Buakaw is offline Absolute novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    112

    Possible? List box on continuous form

    Hi
    Is it possible to use list boxes on a form with property "Default View" set to "Continuous Forms"?

    The list box displays a list of choices the user can choose (taken from an SQL query).

    Here's the problem. At one time, I can see multiple records on the form, along with multiple list boxes, one for each record.

    However, the choices in ALL the list boxes that are displayed are the same as the record that has the focus currently.

    E.g.
    Record 1: What is your favourite colour?


    List box choices: Blue, Red, Green, Yellow, Black, White, etc.

    Record 2: Which month were you born in?
    List box choices: Jan, Feb, Mar, Apr, etc.

    However, in form view, when record 1 has focus, ALL the list boxes, even the list box for record 2, displays "Blue, Red, Green, Yellow..." etc.

    When I click on record 2 and focus changes to record 2, all the list box choices on the form show "Jan, Feb, Mar, Apr" etc., even the list box for record 1.

    Is there a way to actually to show the correct choices for each list box, if I want to use the form in continuous view?

    Thanks!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    list box is probably not what you want to use for choosing items on data entry, try a combo box instead. List boxes are better used for selecting already existing items and manipulating them

  3. #3
    Buakaw is offline Absolute novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    112
    Hi, I have to use a list box in this case because the user must be able to enter multiple answers for each question. I can't do that with combo boxes. Thanks.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    You actually can do it with combo boxes, but without seeing your data structure it's hard to give you direction.

    Instead of a list box showing your sub table (I'm assuming you are doing this on a sub table and not trying to keep all your data on one table) you could have a sub form that's linked to the parent record and you could enter as many items as you want via a combo box.

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

Similar Threads

  1. Non-continuous form
    By alyon in forum Access
    Replies: 6
    Last Post: 07-19-2011, 12:25 PM
  2. Replies: 6
    Last Post: 02-09-2011, 07:30 AM
  3. Replies: 1
    Last Post: 07-22-2010, 05:55 AM
  4. Replies: 6
    Last Post: 07-21-2010, 05:25 PM
  5. Continuous Form
    By duckie10 in forum Access
    Replies: 13
    Last Post: 06-09-2009, 11:15 AM

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