Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
  1. #31
    Join Date
    Sep 2024
    Posts
    14
    @ano - I don't think you're understanding my latest problem.
    As I stated in port #26, if I'm on record A and change the country, the states field is re-queried and states combo box works correctly.
    However, when I position to the next record, the country value is correct, but the states combo box has the states list from the previous record.
    I appreciate your uploading your modified DB, but I have no clue what you changed.

  2. #32
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Sorry, I can only think that the subform is corrupt.
    Try recreating and using that with any code amendments I made.
    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. #33
    ano is offline Competent Performer
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    204
    yeah recreate both forms was needed , my example i uploaded works as far i understand, only confused abt city bec i not found city any where.
    just amazed that he not try my example and just refer to #26 and that tell me nothing that i can reproduce, unless he has some where trouble wth the city or he use different way of next record

  4. #34
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    I believe I have cracked it.
    Although the combo had the correct value, it was not showing it.

    As a work around, add this to the subform

    Code:
    Private Sub Form_Current()
    Me.cboState_ID.Requery
    End Sub
    That then seems to show the actual decriptive value.
    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. #35
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Still unable to edit a post.
    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

  6. #36
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Because of time-outs? I just edited a post elsewhere, but loading the post was quite sluggish. My download Mbps is 52.4 over wifi, which I think is pretty good (?).
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #37
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    No, I just enter extra text and pres save. It saves the most, but the extra text has gone walkabout.
    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

  8. #38
    Join Date
    Sep 2024
    Posts
    14
    @welshgasman - Thanks. It took a bit of tweaking, but that fixed the problem.
    I ended up doing a requery on all three cascading combo boxes on the subform.
    Marking this thread as solved again.

  9. #39
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    I think you only need to do it on any cascading.
    I think it is because the States for one country can not be in the list, despite the value in the record.
    By requerying you refresh for the country and now the States has a record in it's source for the value in the record.
    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

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 04-07-2019, 06:24 AM
  2. Replies: 3
    Last Post: 07-26-2016, 02:12 PM
  3. Replies: 3
    Last Post: 06-18-2014, 10:40 AM
  4. Replies: 4
    Last Post: 10-25-2013, 06:48 AM
  5. Replies: 1
    Last Post: 01-10-2011, 12:25 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