Results 1 to 3 of 3
  1. #1
    The Professor is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Location
    Cambridgeshire, UK
    Posts
    67

    ComboBox not Updating Field

    Hi All,

    I have a Combo Box control on a data entry Form which shows the data for three different Fields in the underlying Table in it's drop down list. It's bound to one of them and that is the data that is displayed in the text box, obviously.

    However, when a new, blank record is created and initial data is entered into the Combo Box Control for that new record, all is fine. The Field in the underlying Table is updated with the initial data.
    But, if I change my mind and go back to that field and alter/edit that data, the Combo Box will display the new amended data but the underlying field is not updated. So that if I navigate away from that record and then return to it, the Combo Box will display the old data and the amendment will have been ignored/discarded. In terms of Properties "Limit to List is NO" and "Allow Edits is Yes".

    What seems to be happening is that the first entry into the Combo Box is the only one it will accept and any future or further edits or amendments are just ignored even though the Combo Box appears to be accepting - the underlying Field/Table is not been updated. Not sure what is going on here, but I'm probably just missing something obvious I expect, but I'd be grateful if anyone could point out to me what that might be.



    Cheers,
    Prof.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Can you provide db for analysis? Follow instructions at bottom of my post.
    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
    The Professor is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Location
    Cambridgeshire, UK
    Posts
    67
    Hi June7,

    Many thanks for the offer and much appreciated but, with the help of a friend, I have managed to get to the root of the problem - it boiled down to a dodgy piece of code which has now been rectified.

    Prof.

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

Similar Threads

  1. Combobox subform filter: text field vs. number field
    By Alhassani in forum Programming
    Replies: 2
    Last Post: 07-08-2014, 10:04 AM
  2. Replies: 7
    Last Post: 03-02-2014, 08:47 PM
  3. Replies: 2
    Last Post: 03-01-2012, 03:11 PM
  4. ComboBox Keeps updating Table
    By Garito100 in forum Forms
    Replies: 15
    Last Post: 02-20-2012, 11:29 AM
  5. Combobox not updating
    By lostfan789 in forum Forms
    Replies: 15
    Last Post: 06-16-2010, 09:21 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