Subform won't update upon reselection of combo box

8

8l2255

I have two linked combo boxes (not sure if this makes a difference),
cbocategoryselect and cboproductselect. cboproductselect controls the record
shown in the subform 'productdetails' however when cbocategoryselect and
cboproductselect are reselected the record does not update accordingly.

Any help would be very welcome.

Cheers
 
L

Larry Linson

8l2255 said:
I have two linked combo boxes (not sure if this makes a difference),
cbocategoryselect and cboproductselect. cboproductselect controls the
record
shown in the subform 'productdetails' however when cbocategoryselect and
cboproductselect are reselected the record does not update accordingly.

Any help would be very welcome.

In the After Update event of the Combo Box, did you Requery the Subform
Control?

When you write that "cboproductselect controls the record shown in the
subform 'productdetails'", that would lead me to believe that
cboproductselect is the Link Master Fields and a corresponding field in the
RecordSource of the Form embedded in the subform control is the Link Child
Fields -- but there could be other approaches.

Larry Linson
Microsoft Office Access MVP
 
8

8l2255

Thanks Larry.

Solved using a requery.

Larry Linson said:
In the After Update event of the Combo Box, did you Requery the Subform
Control?

When you write that "cboproductselect controls the record shown in the
subform 'productdetails'", that would lead me to believe that
cboproductselect is the Link Master Fields and a corresponding field in the
RecordSource of the Form embedded in the subform control is the Link Child
Fields -- but there could be other approaches.

Larry Linson
Microsoft Office Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top