Minkey
Registered User.
- Local time
- Today, 21:41
- Joined
- Jul 7, 2004
- Messages
- 659
I'm trying to produce a form with 4 text boxes that dependant on combo box are visible or not. I understand I can do it using
if.combo = "A" then me.text1.visible = true else false etc..
My problem is I have 5 choices from the combo box, A,B,C,D,E and 4 text boxes , left, centre, right and rear and I cant figure out how to do this:
If A, centre visible
If B, left, right visible
If C, left, right, centre visible
If D, left, right and rear visible
If E, left, right, centre and rear visible
In fact is this the best way to do it ??
I'm very new to VB any help would be appreciated.
(I'll be off line soon for a few hours so I may not be able to reply straight away)
Oh by the way I have thought of using a seperate form for each selection A,B etc but Id like to know if it's possible via code
if.combo = "A" then me.text1.visible = true else false etc..
My problem is I have 5 choices from the combo box, A,B,C,D,E and 4 text boxes , left, centre, right and rear and I cant figure out how to do this:
If A, centre visible
If B, left, right visible
If C, left, right, centre visible
If D, left, right and rear visible
If E, left, right, centre and rear visible
In fact is this the best way to do it ??
I'm very new to VB any help would be appreciated.
(I'll be off line soon for a few hours so I may not be able to reply straight away)
Oh by the way I have thought of using a seperate form for each selection A,B etc but Id like to know if it's possible via code
Last edited: