Results 1 to 5 of 5
  1. #1
    rhubarb is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    76

    Two Forms One Combobox

    I have a single form with a combobox (which does a distinct select lookup from a tickets table). I also have some other fields on that same form from a different table (the customers table). So now when a user drops down the box or starts typing a job address it appears on the same record. Instead of this I'd like it so that when the value of this combobox changes all the corresponding details of the table will match that value. That way when someone enters the address the other details, if in the table, will appear. Is this possible?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Sounds like you have it BOUND to the record. Make sure the datasource of the combo is UNBOUND. (not attached to the record)

    I'm unsure of what you want after user picks it.

  3. #3
    rhubarb is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    76
    Okay, I'll take a look at that datasource. Thanks.

    Once the user selects a value from the combobox, the other fields on the form should populate with their corresponding information.

  4. #4
    rhubarb is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    76
    I think this may be what I was looking for:
    http://access.mvps.org/access/forms/frm0005.htm

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    I think you want to FILTER the records based on the cbo pick.

    in the Cbobox after_update event

    Code:
    me.filter = "[myField]='" & cbobox & "'"
    me.filteron = true

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

Similar Threads

  1. Forms - ComboBox - Sort/Edit Tables
    By farner in forum Forms
    Replies: 3
    Last Post: 01-05-2013, 09:05 PM
  2. Replies: 5
    Last Post: 12-05-2011, 05:35 AM
  3. Replies: 1
    Last Post: 09-06-2011, 01:47 PM
  4. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  5. Replies: 0
    Last Post: 12-16-2009, 01:14 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