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  

Combo Box



 
 
Thread Tools Display Modes
  #1  
Old December 21st, 2005, 04:04 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Combo Box

I have two bombo boxes. If value "XXXXXX" is selected in combo box 1 I would
like combo box 2 to default to "YYYYYY" while still giving the user the
ability to select other values from combo box 2. Each Combo Box gets its
selection from a different table
  #2  
Old December 21st, 2005, 04:10 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Combo Box

Hey Rafi,

If you do a search on "Cascading Combo Boxes" or something like this, you
should find plenty of resource on how to do what your looking for.

HTH,
Shane

Rafi wrote:
I have two bombo boxes. If value "XXXXXX" is selected in combo box 1 I would
like combo box 2 to default to "YYYYYY" while still giving the user the
ability to select other values from combo box 2. Each Combo Box gets its
selection from a different table


--
Message posted via http://www.accessmonster.com
  #3  
Old December 21st, 2005, 04:17 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Combo Box

you could try a select case in combo1's after_update like:

Combo1_AfterUpdate()
Select Case Combo1
case this
combo2 = something1
case that
combo2 = something2
case theother
combo2 = something3
end select

End Sub

--
Kelly D

Message posted via http://www.accessmonster.com
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hidden Power of the Combo Box JethroUK© New Users 2 October 24th, 2005 09:18 AM
Hidden Power of the Combo Box JethroUK© Using Forms 2 October 24th, 2005 09:18 AM
Disable text box via combo box StuJol Using Forms 1 August 10th, 2005 09:29 AM
Data Dependencies between Combo Boxes Tom Using Forms 7 June 6th, 2004 05:25 PM
Requery Combobox MJ Running & Setting Up Queries 7 May 25th, 2004 11:01 AM


All times are GMT +1. The time now is 08: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.