My Assistant
![]() ![]() |
|
|
Nov 11 2009, 04:54 AM
Post
#1
|
|
|
UtterAccess Member Posts: 47 |
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 |
|
|
|
Nov 11 2009, 11:35 AM
Post
#2
|
|
|
Access Wiki and Forums Moderator Posts: 48,595 From: SoCal, USA |
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... |
|
|
|
Nov 12 2009, 12:37 PM
Post
#3
|
|
|
UtterAccess Member Posts: 47 |
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. |
|
|
|
Nov 12 2009, 01:19 PM
Post
#4
|
|
|
Access Wiki and Forums Moderator Posts: 48,595 From: SoCal, USA |
Hi,
In the Form's Current event, you could try this: Private Sub Form_Current() Call CheSEN_AfterUpdate() End Sub Hope that helps... |
|
|
|
Nov 12 2009, 01:21 PM
Post
#5
|
|
|
UtterAccess Member Posts: 47 |
Thank you very much!
works perfectly x |
|
|
|
Nov 12 2009, 06:04 PM
Post
#6
|
|
|
Access Wiki and Forums Moderator Posts: 48,595 From: SoCal, USA |
You're welcome. Good luck with your project.
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 18th June 2013 - 09:01 PM |