I have this code so if I select something from the combo box, there is a text box next to it, which will show the explanation of the selection, can someone take a look at this and see if there is a way to make this happen:
VB code:
Private Sub cbSLAType_Change()
If cbSLAType = "PC Replacement" Then
txtTypeDetail.Visible = True
txtTypeDetail.Text = "PC Replacement"
ElseIf cbSLAType = "Password Reset" Then
txtTypeDetail.Visible = True
txtTypeDetail.Text = "Password Reset"
ElseIf cbSLAType = "3D ID set up" Then
txtTypeDetail.Visible = True
txtTypeDetail.Text = "3D Id Set Up"
ElseIf cbSLADetail = "Phone Moves" Then
txtTypeDetail.Visible = True
txtTypeDetail.Text = "Phone Moves"
ElseIf cbSLAType = "Workstation Moves" Then
txtTypeDetail.Visible = True
txtTypeDetail.Text = "Workstation Moves"
ElseIf cbSLAType = "LAN Printer Moves" Then
txtTypeDetail.Visible = True
txtTypeDetail.Text = "LAN Printer Moves"
Else
txtTypeDetail.Visible = False
End If
End Sub
maybe there is a better way to do this, the text box is going to be invisible, but when they make the selection, it'l show the explanation.
Thank you for your help.
