Results 1 to 8 of 8
  1. #1
    jkg0679 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    4

    First Record is Transferring to each Customer


    I have set up a database using multiple tabs. My customer name field is a drop-down box from which the user can select from any of our customers. Beneath is a subform that provides information about each oof our customer's products in a datasheet. When I switch to a new customer from the "default" customer (the customer that is open when I first open Access), the first record of the "default" customer moves to the new customer (no other records do this, and the new customers products appear along with the other). This one record will conntinue to move to any customer I click on. Any idea why?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Is purpose of the dropdown to search/move to a customer record? If so, the control must be UNBOUND, otherwise you are changing value in record, not just entering search value.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jkg0679 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    4
    It needs to be bound as we need to be able to switch between customers and have thir products appear in the subform.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Please show a jpg of your tables and relationships. You should be able to zip it and attach.

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Again, the combobox used as input for search criteria must be UNBOUND. Use textboxes to display the data already in existing record.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    jkg0679 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    4
    When I change the Customer combobox to unbound, and I click on a customer's name, their information is not refreshing.

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Need code behind the combobox to filter the form recordset or to locate and move to the record. Here is one method for the filter approach http://datapigtechnologies.com/flash...tomfilter.html


    Options for retrieving and displaying the related customer info:

    1. multi-column combobox

    2. form RecordSource that joins the two tables, set properties of customer info textboxes to Locked Yes and TabStop No

    3. DLookup expression in textbox
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    jkg0679 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    4
    Awesome! That worked!!!! Thank you so much!

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

Similar Threads

  1. Replies: 1
    Last Post: 12-24-2011, 08:48 AM
  2. Transferring data to a second form
    By JayX in forum Access
    Replies: 2
    Last Post: 12-15-2011, 11:31 AM
  3. Replies: 1
    Last Post: 09-07-2011, 02:45 AM
  4. Replies: 8
    Last Post: 04-12-2011, 07:46 AM
  5. Need help on transferring found record
    By awsmitty in forum Access
    Replies: 1
    Last Post: 01-22-2010, 09:11 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