Results 1 to 3 of 3
  1. #1
    Madmartigan is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jun 2013
    Posts
    36

    Drop-down box not changing associated records

    I have a form based on a query. It shows receivable by customer and age buckets. I created the form and want to make customer name a drop down box that will have the other fields update based on which customer is selected.



    When I first created the form and changed the customer name field to a drop-down, only the first customer in my query shows up as an option. However, if you use the record selection buttons at the bottom left, you can scroll through each customer in order and all fields populate properly.

    So I then tried to base the "Row Source" of my drop-down box on the customer name (Group By Query) and that adds all the customers to my drop-down list like I want but it won't let me actually select any of them (the computer makes the unhappy ding noise).

    I have to be close - what am I missing here?

  2. #2
    Madmartigan is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jun 2013
    Posts
    36
    I tried creating a new combo box using the wizard and that gets all the customer names in there and I can select them, but the other fields do not change when the combo box selection is made.

  3. #3
    Madmartigan is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jun 2013
    Posts
    36
    Well I figured it out. I put a macro on AfterUpdate:

    SearchForRecord:

    ="[Customer] = " & "'" & [Screen].[ActiveControl] & "'"

    Had no clue but I found another database that did something similar and that was the only difference I could find.

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

Similar Threads

  1. Drop down list not getting records
    By Cran29 in forum Access
    Replies: 5
    Last Post: 02-05-2014, 03:34 AM
  2. Auto fill Drop down box for current records
    By neoroses in forum Forms
    Replies: 4
    Last Post: 01-23-2014, 10:32 AM
  3. Changing multiple records
    By jcwhite in forum Access
    Replies: 3
    Last Post: 02-05-2013, 12:01 PM
  4. changing data in many records
    By cforce in forum Programming
    Replies: 1
    Last Post: 07-22-2010, 02:30 PM
  5. Selecting multiple records in drop down
    By rscott7706 in forum Access
    Replies: 1
    Last Post: 08-26-2009, 03:00 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