Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30

    Ok, I will create a backup copy of my DB and shoot it over to you, I was off yesterday, so sorry for the late response.

  2. #17
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    Here is the DB, i took out any information that is confidential. What I been trying to do is as follows. On the video form it is used to add in information to the DB, at the top I had a pick Video Number Combobox. The box worked fine to bring up any records once you selected the record you want so that you can update the record. What I was trying to accomplish past that, I was trying to plan for future growth of the DB. The combobox was great that is listed the values of the Video Number or you could type in the Video number and it would bring up that record, but as the years go by and we continue to use the DB, the combobox will become over saturated with data, so I was attempting to limit the choices in the combobox by having another combobox state each year, 2015, 2016 etc as a list combobox. I want to take 2015 and have it limit the selection in the video number combobox to all records that contain 2015 in it. Since Video number is V-1-2015 to V-5-2015 and so on. Thanks again for the help.

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Don't know why the VideoNumber combobox is not working, maybe corrupted. Seems I've encountered this before.

    I created a new combobox with the same RowSource and used its GotFocus event for the Requery code. This works.


    The embedded macro in the VideoNumber combobox won't work because the ID field is not included in the RowSource.

    Change properties:

    RowSource: SELECT ID, [Video Number] FROM VideoCameraInformation WHERE [Video Number] LIKE "*" & [SelectYear_cbo];
    ColumnCount: 2
    ColumnWidths: 0";1"
    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.

  4. #19
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    Yep, that was all it needed, Select ID, once I added that into the row source, it seems to work. Thank you for all that, it is really helpful. Now time to go watch some more videos on coding and such to increase my knowledge of it. Thanks again for the help.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Combobox updates form
    By Voodeux2014 in forum Forms
    Replies: 5
    Last Post: 12-08-2014, 01:22 PM
  2. Replies: 2
    Last Post: 07-15-2014, 10:39 AM
  3. Replies: 1
    Last Post: 10-11-2012, 02:07 PM
  4. Combobox selection updates Table record
    By lucky in forum Access
    Replies: 4
    Last Post: 10-30-2011, 10:44 AM
  5. Replies: 6
    Last Post: 07-28-2011, 04:07 AM

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