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  

Filter combobox in function of other combobox from the same form



 
 
Thread Tools Display Modes
  #1  
Old March 13th, 2010, 07:04 AM posted to microsoft.public.access.forms
tomcris
external usenet poster
 
Posts: 1
Default Filter combobox in function of other combobox from the same form

How I filter value on a combobox function of value of other combo from same
forms?
  #2  
Old March 13th, 2010, 04:26 PM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Filter combobox in function of other combobox from the same form

On Fri, 12 Mar 2010 23:04:01 -0800, tomcris
wrote:

How I filter value on a combobox function of value of other combo from same
forms?


Set the RowSource property of the combo to a Query referencing the other combo
box: use =[Forms]![YourForm]![FirstCombo] as a criterion on the field you want
to filter.

You'll need to Requery the dependent combo in the AfterUpdate event of the
controlling combo.
--

John W. Vinson [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 01:03 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.