Results 1 to 3 of 3
  1. #1
    Henrik is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    11

    Combobox - selecting a record returns almost all field values, but some are wrong

    Dear all (and special thanks to June7 for previous efforts on a different issue),



    Yes I am a newbie, and yes, I've been here before - but just once

    I chose to place the primary key of a table in a combobox (a drop-down box in my main form), which MS Access nicely composed for me after launching the guide.

    When I choose a record from my drop-down box, this record really becomes the current one, because all calculated fields in the main form show good results for the currently chosen record.

    My subform, linked to the main form, shows correct field values as well.

    BUT two text fields, located on the main form, won't change, while choosing a different record from the combobox. These fields retain their values from the previous record.

    It's a bit funny. I really devoted hours on Internet, searching for an answer, but no - my question simply seems not to be there and all answers in regard to combobox problems in general tend to end up in complicated VBA code.

    Friends, what I really want is that the choice in my combobox shall exactly reflect the results of the standard actions in Access (i.e. without VBA programming), like choosing next record by pressing the arrow button for it, or using the standard Access' search function in for example the discussed combobox field.

    Does it have to be that complicated in the world of MS Access?

    Best regards and thanks in advance,

    Henrik

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,967
    A combobox used as a search tool cannot be bound to a field. All that does is change the value saved in table. Review this tutorial for one technique for building filter into form http://datapigtechnologies.com/flash...tomfilter.html
    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
    Henrik is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    11

    Thumbs up

    Quote Originally Posted by June7 View Post
    A combobox used as a search tool cannot be bound to a field. All that does is change the value saved in table. Review this tutorial for one technique for building filter into form http://datapigtechnologies.com/flash...tomfilter.html
    Thank you for walking me to a good video!

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

Similar Threads

  1. Replies: 2
    Last Post: 03-02-2012, 01:28 PM
  2. Update Query selecting multiple values in one field
    By Zipster1967 in forum Queries
    Replies: 1
    Last Post: 08-15-2011, 12:22 PM
  3. Combobox to show two field values
    By lnordstrom in forum Forms
    Replies: 2
    Last Post: 03-30-2011, 12:33 PM
  4. Updating field goes to wrong record
    By chrismalan in forum Forms
    Replies: 7
    Last Post: 03-20-2011, 08:07 PM
  5. Selecting text - ComboBox
    By Numbat in forum Programming
    Replies: 2
    Last Post: 06-05-2006, 05:42 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