Option box

P

Paul

I have an option box with 4 selections. I have a command button that I
crated a macro for to send an email when the command button is pushed. If
the option box has 4 names, how do I have the macro send an email to only the
person whose name is selected in the option box when the command button is
pressed?
Can someone tell me how I can create a condition so that I can send an email
to "Joe", only if Joe's name is selected in the option box?
 
K

KARL DEWEY

Use a separate action in the macro for the different e-mails and put a
condition checking the value of the option group like this --
[Forms]![YourFormName]![Frame4] = 1
 
P

Paul

Thanks!
That worked, bur I had to use the name of the option box (which is
"Department")instead of the name of option. So--
[Forms]![YourFormName]![Department] = 1.

KARL DEWEY said:
Use a separate action in the macro for the different e-mails and put a
condition checking the value of the option group like this --
[Forms]![YourFormName]![Frame4] = 1

--
Build a little, test a little.


Paul said:
I have an option box with 4 selections. I have a command button that I
crated a macro for to send an email when the command button is pushed. If
the option box has 4 names, how do I have the macro send an email to only the
person whose name is selected in the option box when the command button is
pressed?
Can someone tell me how I can create a condition so that I can send an email
to "Joe", only if Joe's name is selected in the option box?
 

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