Filling controls based on a value in a combo box

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.
 
M

Mike Painter

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.
 
S

Susan L

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top