Results 1 to 4 of 4
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Using a Combo Box to jump to a record

    The Combo Box I added using the wizard seems to operate independently to the rest of the data in some cases. When I select a name, it does jump to the record. This is ok so far.

    However, if I jump to the last record, while that does occur, the value in the combo box does not automatically change accordingly to the last record. Instead it still retains the last value selected. How can I get it to show the correct value if I jump to the last record?

    Also, I entered two new entries in my underlying table. When I jump to the last record, those two latest entries are not showing up in the form. Why not? I refreshed the table, but that didn't help.

    See the attached word file for a screen shot.Access Forms 2.zip

  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,644
    Is the combobox unbound? How is selecting name in the combobox causing the 'jump'? What is the code?
    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
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    The combo box is unbound. When I say jump, I mean, I select a value in the combo box, and the remaining fields on the form jump to the proper record which is what it is supposed to do. I do not have any code. I used the wizard when adding the combo box to jump to a specific record.

    When I jump to the last record with the navigation buttons, the last value in the combo box still stays there. Not sure why?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    It stays because the combobox is unbound. It will hold selected value until another selected or form closes. If you want it to be empty then need code.

    I expect you have macro code (not VBA) behind the combobox. I don't use macros, only VBA. However, I suppose the macro could be modified to empty the combobox after each 'jump'.
    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.

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

Similar Threads

  1. Replies: 6
    Last Post: 10-23-2013, 09:24 PM
  2. Replies: 1
    Last Post: 08-09-2012, 04:19 PM
  3. Text Box - Jump to Record
    By drow in forum Forms
    Replies: 5
    Last Post: 03-12-2012, 11:25 PM
  4. How to jump on a new record when forms open?
    By braveali in forum Programming
    Replies: 3
    Last Post: 02-21-2012, 08:17 AM
  5. Avoid jump to first data after insert new picture
    By gigolomoden in forum Programming
    Replies: 0
    Last Post: 08-04-2008, 10:08 PM

Tags for this Thread

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