Results 1 to 11 of 11
  1. #1
    pedro is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2009
    Posts
    5

    Form does not update after event

    I created a form to display all fields for a record where i created a combo box to select a record. The problem is that after selecting a record from the combo box all other fileds will display correctly however if i go to another record adn return to the same it does not update all other fields.



    Thanks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Are all of the controls on your form bound to fields in the RecordSource of the form?

  3. #3
    pedro is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2009
    Posts
    5
    Yes they are... When I select a record from my ComboBox for the first time it works perfectly. Its just if i go to another record which works fine and when i return to the first one it does not work anymore unless i come out of the form...

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Something strange is going on. Can you post your db so we can look at it?

  5. #5
    pedro is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2009
    Posts
    5
    Thanks for that... Attached is my full database. and the problem is with the form frm_View_Restaurants

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I don't see a problem. How do you get to another record and then back? Did you do a Compact and Repair?

  7. #7
    pedro is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2009
    Posts
    5
    Thanks... Let me see if I can guide you though my issue.

    Open From frm_View_Restaurants
    From the Combo Box at the top select AM Amalfi
    And it should display all the details for AM Amalfi.
    From the combo Box select BG Centraa
    And it should display all teh details for BG Centraal
    From the Combo Box select again AM Amalfi
    And this is where the problem happens. It does not display the details for AM Amalfi but keeps the details for BG Centraal.

    I really appreciatte you taking time to look at my issue...

    Thanks

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I see it now. I'll dig in and get back to you.

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The AfterUpdate macro of the cbo starts with Next record and should start with the First record.

  10. #10
    pedro is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2009
    Posts
    5

    Resolved

    Thank you very much RuralGuy... I knew it would be something really stupid like that...

  11. #11
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Glad I could help. Are you ready to follow the link in my sig and mark this thread as Solved?

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

Similar Threads

  1. Replies: 21
    Last Post: 06-03-2009, 05:54 PM
  2. update default value in form
    By leah7au in forum Access
    Replies: 3
    Last Post: 05-14-2009, 07:11 AM
  3. Update Query from Form
    By ste_pie87 in forum Queries
    Replies: 2
    Last Post: 04-26-2009, 07:22 PM
  4. Form Event Question
    By protean_being in forum Forms
    Replies: 3
    Last Post: 05-06-2008, 10:43 AM
  5. Befor update event
    By wasim_sono in forum Forms
    Replies: 1
    Last Post: 03-24-2006, 07:21 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