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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Requery subform control to refresh list based on combo box value change



 
 
Thread Tools Display Modes
  #1  
Old October 28th, 2008, 08:30 PM posted to microsoft.public.access
Larry Kahm
external usenet poster
 
Posts: 148
Default Requery subform control to refresh list based on combo box value change

Main form: frmArticles
Combo box with project numbers: cboProjectID.
Subform: sfrmStaff (control is isfrmStaff).
sfrmStaff is linked to frmArticles by project number.
Recordsource for subform is a query that uses a criteria of
Forms!frmArticles!cboProjectID

When I change the value of the project number in the combo box, I expect to
have the contents of the subform update. I've included the following
statement in the AfterUpdate event for the combo box:
Me!isfrmStaff.Form.Requery. However the contents of the subform are not
updated.

What else should I be looking at to correct this?

Thanks!

Larry


  #2  
Old October 28th, 2008, 09:25 PM posted to microsoft.public.access
Larry Kahm
external usenet poster
 
Posts: 148
Default Requery subform control to refresh list based on combo box value change

Issue resolved.

Removed the links between main form and subform. Changes to the value in
the combo box (afterupdate .Requery) now works.

Larry

"Larry Kahm" wrote in message
...
Main form: frmArticles
Combo box with project numbers: cboProjectID.
Subform: sfrmStaff (control is isfrmStaff).
sfrmStaff is linked to frmArticles by project number.
Recordsource for subform is a query that uses a criteria of
Forms!frmArticles!cboProjectID

When I change the value of the project number in the combo box, I expect
to have the contents of the subform update. I've included the following
statement in the AfterUpdate event for the combo box:
Me!isfrmStaff.Form.Requery. However the contents of the subform are not
updated.

What else should I be looking at to correct this?

Thanks!

Larry



 




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 06:15 AM.


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