OK, I know this should be simple, but I can't figure it out. I have a drop-down combo box with a list of systems and I have a list box control that I want to automatically fill in with the BIOS rev from the system that is selected in the combo box. I put this in the change event of the combo box:
Private Sub millssys_Change()
If millssys.Text = "Dell Optiplex GX1, PIII 450, 128M RAM" Then
millsbios.Text = "Phoenix BIOS Rev. A06"
End If
If millssys.Text = "Compaq Deskpro EN, PIII 700. 128M RAM" Then
millsbios.Text = "Compaq BIOS ver 686T3"
End If
If millssys.Text = "Toshiba Equium 7350D 667Mhz PIII" Then
millsbios.Text = "AMIBIOS version 1.18"
End If
End Sub
I also tried using the ListIndex Property, but that isn't working either.
What am I doing wrong?
Any help for this newbie would be appreciated.
Thanks,
Elena
Private Sub millssys_Change()
If millssys.Text = "Dell Optiplex GX1, PIII 450, 128M RAM" Then
millsbios.Text = "Phoenix BIOS Rev. A06"
End If
If millssys.Text = "Compaq Deskpro EN, PIII 700. 128M RAM" Then
millsbios.Text = "Compaq BIOS ver 686T3"
End If
If millssys.Text = "Toshiba Equium 7350D 667Mhz PIII" Then
millsbios.Text = "AMIBIOS version 1.18"
End If
End Sub
I also tried using the ListIndex Property, but that isn't working either.
What am I doing wrong?
Any help for this newbie would be appreciated.
Thanks,
Elena