Results 1 to 2 of 2
  1. #1
    Yodo is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Apr 2017
    Posts
    12

    First record is always replaced by previous one!


    Please help! I have a split form and a combo box that selects CompanyNumber, so when I select it, it filters my form (Private Sub cmbx_CompanyNumber_AfterUpdate()
    Me.Filter = "[CompanyNumber] = " & Chr(34) & Me.cmbx_CompanyNumber & Chr(34)
    Me.FilterOn = True) according to selection but other fields are never updated. So, when I select another CompanyNumber all other fields IN FIRST record for this CompanyNumber are overwritten by previous ones. If it helps, there are tons of CompanyNumber, so for source for combobox I choose "SELECT DISTINCT CompanyNumber". All fields are bounded properly- when I select records in a datasheet by mouse all fields in form update as they should.

  2. #2
    Yodo is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Apr 2017
    Posts
    12
    I think my problem is solved, I removed my combo box from control source and it worked out!

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

Similar Threads

  1. Replies: 8
    Last Post: 11-04-2016, 10:49 AM
  2. Replies: 1
    Last Post: 04-11-2015, 10:31 AM
  3. Replies: 2
    Last Post: 03-05-2014, 05:37 PM
  4. Replies: 8
    Last Post: 07-06-2013, 05:13 PM
  5. Replies: 22
    Last Post: 06-12-2012, 10:02 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