C
Chip
Hey Everyone..
I have a tabbed form that has the following tabs...
CrimHx
PracticalExam
WrittenExam
RescueExam
ClassDef
each of thise tabs default setting for visible is false. The user
selects a course from a drop down list. That combo box has the
following options..
57 EFR
63 EMT
72 EMT-P
89 BVR
92 SVR
What I want is for various tabs to become visible depending on the
course that is choosen. I have tried every which way to make this
work, w/o using Macros. I can make it work with Macros, but in an
effort to increase efficiency, I've been trying to get it work in
VBA. I'm not sure where I'm going, but here is an example of what I
have..
Me.Text174 = Me.CourseCode.Column(1)
If Me.CourseCode = "57" Then
Me.ClassDef.Visible = -1
End If
This is simplified example. Typcially, if someone choose 57, a number
of tabs would be visible and a number would remain hidden. But if I
can get it to work with one tab, I'm confident I can remplicate it to
the others.. At one time, I had it working with an If, Then, ElseIf
statement that went through each and over possible combination. But
it stopped work, probably because I tinkered with someone I shouldnt
have...
Any help you can offer would be greatly appreciate..
chip
I have a tabbed form that has the following tabs...
CrimHx
PracticalExam
WrittenExam
RescueExam
ClassDef
each of thise tabs default setting for visible is false. The user
selects a course from a drop down list. That combo box has the
following options..
57 EFR
63 EMT
72 EMT-P
89 BVR
92 SVR
What I want is for various tabs to become visible depending on the
course that is choosen. I have tried every which way to make this
work, w/o using Macros. I can make it work with Macros, but in an
effort to increase efficiency, I've been trying to get it work in
VBA. I'm not sure where I'm going, but here is an example of what I
have..
Me.Text174 = Me.CourseCode.Column(1)
If Me.CourseCode = "57" Then
Me.ClassDef.Visible = -1
End If
This is simplified example. Typcially, if someone choose 57, a number
of tabs would be visible and a number would remain hidden. But if I
can get it to work with one tab, I'm confident I can remplicate it to
the others.. At one time, I had it working with an If, Then, ElseIf
statement that went through each and over possible combination. But
it stopped work, probably because I tinkered with someone I shouldnt
have...
Any help you can offer would be greatly appreciate..
chip