Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jun 2005
    Location
    Atlanta, Georgia, USA
    Posts
    208
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cascading combos and subform datasheet (2003)

    I have a form that has 4 unbound cascading combos and a query that referances these combos. I have this query set up to make a subform which is cascading and I have this cascading form below the combos whcih are already on a form. The problem is I make my selections for the 4 cascading combos and nothing shows in the subform. However if I go to the design view and then view the form the cascading subform shows the correct info. Would this be some type of afterupdate code where it requeries the subform? Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Cascading combos and subform datasheet (2003)

    Yes, try a line such as

    Me.Subformname.Requery

    in the After Update event of the combo boxes, where Subformname is the name of the subform as a control on the main form (this is not necessarily the same as the name of the subform in the database window).

  3. #3
    2 Star Lounger
    Join Date
    Jun 2005
    Location
    Atlanta, Georgia, USA
    Posts
    208
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cascading combos and subform datasheet (2003)

    Thanks Hans that works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •