Results 1 to 2 of 2
  1. #1
    AdventureBob is offline Novice
    Windows Vista Access 2007
    Join Date
    Nov 2011
    Location
    kabul
    Posts
    13

    Combos


    I have 2 combo boxes used to downselect data.
    1st is BudgetOwnerCbo (unbound)
    2nd is AuthBudgetCodeCbo (Bound to BudgetLineID)

    Budget owner forces Auth Budget Code to limit to only budget codes Auth for the slected user. We store a number refering to the Budget Line ID in the budget table based off the down selects. User never sees the Budget Line ID and could care less. Its just "geekiness" to the user. It all works well except....

    When the user is looking through the form the 2 fields are blank unless he just updated them. How do I have the fields work in reverse? meaning how do I keep the values associted with that budget line id in Budget owner and Budget code? Ive looked a the ubiquitious http://www.fontstuff.com/access/acctut10.htm and he cheats by hardwiring a case statement for his sync. There has to be a way to do this....

    Thanks
    BC

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    If I understand your problem correctly I'd say you need to put a requery on the OnCurrent of the form that 'refreshes' the data in the 'filtered' field.

    Something like this:

    Me!FieldName.Requery

    NB: Just replace FieldName with the name of the 'filtered' field.

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

Similar Threads

  1. Replies: 8
    Last Post: 06-03-2015, 02:11 AM
  2. Replies: 3
    Last Post: 10-17-2011, 10:36 PM
  3. form view with multiple combos
    By AdrianoG87 in forum Forms
    Replies: 2
    Last Post: 09-26-2011, 11:10 PM
  4. Replies: 0
    Last Post: 12-20-2010, 12:35 PM

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