I need to find out if it is possible to get the state of a button and use that to build a list of emails. I have a contact layout the a button next to the email address and when the user presses the button, Outlook opens and populates the To, Subject and a default Body message.
My client has asked if it is possible to have it that is it possible to press the button of a number of email addresses and then press a button at the top of the of the layout which will get all the email addresses of the pressed buttons, and then push that to the email client.
I was thinking of having 2 buttons on top of each other, and when the button is pressed, it sets a check mark in the table and then hides that button and shows the second button, and the opposite would work if they had already pressed the button. Then in the Generate Email script, all I need to do would be do a find for where the fields are set and get those email addresses.
Is there an easier or better way of doing this? Or am I on the right track?