I have a form which displays our company's clients and notes about them.
I want to be able to select some of my colleagues from a list box and send the client's notes to my colleauges.
I have created 2 tables: one for client details and notes, and the other table to hold my colleagues' names and e-mail addresses.
I created a form based on the clients table. Then I added a list box using the wizard, and asked it to look up values from the colleagues table. The list box shows only my colleagues' names. I have set the list box to allow multiple selections, using the Extended option.
How can I refer to the multiple selections through code?
Also, how can I refer to the e-mail addresses that correspond to the names selected in the list box? This is so that I can add the e-mail addresses to the e-mail recipients list.
Any ideas?
By the way, I am using Access 97.
Thanks,
May
I want to be able to select some of my colleagues from a list box and send the client's notes to my colleauges.
I have created 2 tables: one for client details and notes, and the other table to hold my colleagues' names and e-mail addresses.
I created a form based on the clients table. Then I added a list box using the wizard, and asked it to look up values from the colleagues table. The list box shows only my colleagues' names. I have set the list box to allow multiple selections, using the Extended option.
How can I refer to the multiple selections through code?
Also, how can I refer to the e-mail addresses that correspond to the names selected in the list box? This is so that I can add the e-mail addresses to the e-mail recipients list.
Any ideas?
By the way, I am using Access 97.
Thanks,
May