A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Subform won't update upon reselection of combo box



 
 
Thread Tools Display Modes
  #1  
Old October 12th, 2009, 06:05 AM posted to microsoft.public.access.forms
8l2255
external usenet poster
 
Posts: 11
Default Subform won't update upon reselection of combo box

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
  #2  
Old October 12th, 2009, 06:49 AM posted to microsoft.public.access.forms
Larry Linson
external usenet poster
 
Posts: 3,112
Default Subform won't update upon reselection of combo box

"8l2255" wrote

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



  #3  
Old November 13th, 2009, 01:32 AM posted to microsoft.public.access.forms
8l2255
external usenet poster
 
Posts: 11
Default Subform won't update upon reselection of combo box

Thanks Larry.

Solved using a requery.

"Larry Linson" wrote:

"8l2255" wrote

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




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.