Filling controls based on a value in a combo box

  • Thread starter Thread starter Susan L
  • Start date Start date
S

Susan L

I need to be able to fill five controls on a form based on the selection of
one specific value in a combo box. I haven't found an answer yet in the
newsgroups.

I put the following code into the AfterUpdate event of the combo box to deal
with one of the five controls (combo boxes), but it is not working.

If Me!cboTransmissionMethod = "FTPVPN" Then
Me!cboEncryption = aes - 256
Else: Me!cboEncryption = ""
End If

The idea is to fill the five controls with the most common values when
FTPVPN is selected, but allow the user to select other values when applicable
to their customers.
 
Susan said:
I need to be able to fill five controls on a form based on the
selection of one specific value in a combo box. I haven't found an
answer yet in the newsgroups.

I put the following code into the AfterUpdate event of the combo box
to deal with one of the five controls (combo boxes), but it is not
working.

If Me!cboTransmissionMethod = "FTPVPN" Then
Me!cboEncryption = aes - 256
Else: Me!cboEncryption = ""
End If

The idea is to fill the five controls with the most common values when
FTPVPN is selected, but allow the user to select other values when
applicable to their customers.

Me!cboEncryption = "aes - 256" is the only problem I see.
 
Talk about not seeing the forest for the trees! Thank you for helping me see
more clearly. Now for some cold water for my red face! Thanks again.
 
Back
Top