G
Guest
I have a main form with a subform. The subform is based on [query_sub]. I
created a combobox [combo12] in the main form and made one of the where
clauses in [query_sub] equal to [mainform].[combo12]. All worked well except
it won't update when the choice in the combobox was changed. So I added a
small macro to requery on 'after update' of combo12. But.... I can't seem to
name the control properly because the query (and it's fields) are in a
subform. I've tried to requery forms.[main form].[sub form].form.[field
name] but that doesn't work (as well as the query_sub and a couple of
others). What should I be requerying? Have I done this wrong? I saw one
article on doing it with VBA but I'd have to recreate my forms to make them
parent/child. Please help. Thanks Ian.
created a combobox [combo12] in the main form and made one of the where
clauses in [query_sub] equal to [mainform].[combo12]. All worked well except
it won't update when the choice in the combobox was changed. So I added a
small macro to requery on 'after update' of combo12. But.... I can't seem to
name the control properly because the query (and it's fields) are in a
subform. I've tried to requery forms.[main form].[sub form].form.[field
name] but that doesn't work (as well as the query_sub and a couple of
others). What should I be requerying? Have I done this wrong? I saw one
article on doing it with VBA but I'd have to recreate my forms to make them
parent/child. Please help. Thanks Ian.