Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    rcough is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2024
    Posts
    6

    Form/Combo Box Query

    I have an sheet with information like the one below. I have a combo box set up with the info on a form. I can't get the form to display the correct information from the sheet when I change the combo box value to 2000 it is staying at the default 1000 value.

    Example Sheet Below



    Data Value1 Value 2 Value 3 Value 4
    1000 0.5 0.75 1 1.25
    2000 0.6 0.66 0.72 0.78
    3000 0.7 0.8 0.9 1

    So what i need to show is when i load up the combo box with the Data Value the Value 1, Value 2 ect all change to the correct value.

    Hope that's correct, difficult to explain. I have done it before a long time ago and can't remember and can't seem to find a video on how to do it again.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Requery your data source.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    rcough is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2024
    Posts
    6
    I sadly don't think its that, it looks like i have missed a step somewhere. As i have refreshed and nothing has changed.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    So attach your DB and instructions of how to replicate.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi
    Try deleting the Combobox and create a New One.

    Make sure you select the 3rd option - To find a record etc....
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  6. #6
    rcough is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2024
    Posts
    6
    Sadly the real one i am using is on a secret system so i can't share it.

  7. #7
    rcough is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2024
    Posts
    6
    I have tried that, still nothing, but not sure when i select 3rd option to find a record, where is that?

  8. #8
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi
    When you create the Combobox the first window that pops up should look like the attached which shows the 3rd Option.

    This would happen if you are basing the Form on a Table.

    If you are basing the Form on a Query then this 3rd Option will not be available.
    Attached Thumbnails Attached Thumbnails Combobox.png  
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  9. #9
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by rcough View Post
    I have tried that, still nothing, but not sure when i select 3rd option to find a record, where is that?
    I think Mike might be thinking of the command button wizard?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  10. #10
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Looking back on your original post, I do not think your DB is normalised and that might be your issue?

    If you have 1 in your combo are you expecting to see records 1 & 3 ?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  11. #11
    rcough is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2024
    Posts
    6
    That might be it as i don't see that option when i create the combo box, and i seem to remember that now from last time, how do i get that to appear. Would PM you if i knew how

  12. #12
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi

    If you click on my name and then select Private Message
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  13. #13
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    In some other forums inviting someone to pm you to solve a thread is against the rules. If it's not here, it probably should be.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  14. #14
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by Micron View Post
    In some other forums inviting someone to pm you to solve a thread is against the rules. If it's not here, it probably should be.
    Yes, noone else on a site benefits from any assistance given by PM.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  15. #15
    rcough is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2024
    Posts
    6
    Thanks all for your help i have managed to sort it out now.

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

Similar Threads

  1. Query criteria from combo box of a form
    By kkbharat in forum Queries
    Replies: 11
    Last Post: 04-04-2018, 04:52 PM
  2. Replies: 6
    Last Post: 12-03-2017, 02:23 PM
  3. Replies: 5
    Last Post: 09-22-2016, 08:42 AM
  4. Replies: 9
    Last Post: 01-13-2015, 07:30 AM
  5. Replies: 2
    Last Post: 12-07-2014, 10:03 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