Results 1 to 2 of 2
  1. #1
    desireemm1 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    50

    Combo Box with multiple columns

    Hi guys I am trying to simplfy things for the users by putting information in a list box or combo box.

    Heres what I'm trying to do

    40 Hours = 2 parent family Month 173
    30 hours = single parent child over 6 years Month 130
    20 hours = sigle parent child under 6 years Month 87
    0 hours = child under 1 year Month 0


    right now its set up as three fields one is a combo box that has
    "Single Parent w/child 1 to 6 yrs";"Single Parent w/child 6 yrs & up";"Two-Parent Family";"Non-Needy";"Disregarded";Exempt"



    but I want the users to be able to choose one and then the hours will be there instead of them having to go to two seperate fields Called . Also these options are always tied together in a one-to-one sort of way

    Mo 173 Wkly 40


    does that makes sense i would like for them to choose the family and then the hours required pops up for that family. whether they be 2 parent or 1 parent then the correct hours would pop up instead of the user having to constantly type them in. any suggestion would be appreciated

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    "Single Parent w/child 1 to 6 yrs";"Single Parent w/child 6 yrs & up";"Two-Parent Family";"Non-Needy";"Disregarded";Exempt"

    Should read

    "Single Parent w/child 1 to 6 yrs";"40";"Single Parent w/child 6 yrs & up";"30";"Two-Parent Family";"20";"Non-Needy";"10";"Disregarded";"10";Exempt";"10"

    Then in the properties of your combo box set your column count to 2
    column widths to 5cm,0cm

    Set column 1 to be the bound column

    Then on the AfterUpdate Event of the combo

    Me.HoursField = Me.ComboBox.Column(1) (zero based)

    David

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

Similar Threads

  1. Multiple combo box
    By sparta363 in forum Forms
    Replies: 1
    Last Post: 06-22-2009, 02:03 PM
  2. Multiple Price Columns
    By kmwhitt in forum Access
    Replies: 0
    Last Post: 04-04-2009, 09:48 PM
  3. Multiple Fields In One Combo Box.
    By caljohn527 in forum Forms
    Replies: 1
    Last Post: 02-20-2009, 03:07 PM
  4. Replies: 1
    Last Post: 06-21-2007, 01:02 PM
  5. Replies: 0
    Last Post: 12-19-2006, 09:44 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