Full Version: Cascading Combo box! How do i make?
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
nhagan
Hello all, i have a students form which contains all student information etc.

On this form i have a selection box which allows the user to choose if the student is SEN. If selected i want a combo box to appear linking to the SENType list. If not selected i don't want the combo box to appear.

Selection box named: CheSEN
Combo box: CboSENType

Not sure what to do

THanks
theDBguy
By "selection box" named CheSEN, are you talking about a checkbox? If so, you could try something like:

Private Sub CheSEN_AfterUpdate()
Me.CboSENType.Visible = Me.CheSEN
End Sub

Hope that helps...
nhagan
Thanks that works. But i was wondering what would i add so that it werent visible on form load if its not ticked?

Edited by: nhagan on Thu Nov 12 13:06:31 EST 2009.
theDBguy
Hi,

In the Form's Current event, you could try this:

Private Sub Form_Current()
Call CheSEN_AfterUpdate()
End Sub

Hope that helps...
nhagan
Thank you very much!

works perfectly x
theDBguy
You're welcome. Good luck with your project.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.