469,347 Members | 18,478 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,347 developers. It's quick & easy.

Complex Cascading Combo Boxes

Hey, I wonder if anyone can possibly help me with this problem. I'm really struggling with it.

Ok, I have a form with a childform inside it which is in datasheet view, this form has two combo boxes, one which selects the category, and the other contains the contents of the category. These combo boxes are linked as in all the examples out there using AfterUpdate.

However, the problem with this approach is that when the datasheet form is reloaded displaying all records the contents of the category list box (ie the one with the data in) is only shown if the previously executed AfterUpdate is of the same category type.

I understand why its happening but don't know how to solve it.

There must be a solution to this, anybody? Its really baffled me.

Thanks for you help.

Jun 13 '06 #1
1 2263
1,418 Expert 1GB
In after Update of the category combo box you should include a command to requery your contents combo box!

See the requery method in ms Access there is exemples!
Sep 6 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by visionstate | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.