I have 3 elements to this question. I have a table (called cancellations) a form (called cancellations_form) and I have made a query called (e-mail_query).
I would like to display the results of my query in a text field on my form, Each row returned from the query should be displayed in a new line on the text field.
My query called (email_query) has the following columns
cancellation_id (PK), company_name (FK), cancellation_date, product, email_sent (yes/no)
Now for part 2. Once I get that code into a field, I have created a e-mail button that will send an e-mail to a specified address with the information. At this stage I would also like to update my table called cancellations and would like to mark a field called email_sent as TRUE for all those cancellation_ids that were sent in the e-mail.
Can anyone help me get started on both parts, if more info needed please ask.
I would like to display the results of my query in a text field on my form, Each row returned from the query should be displayed in a new line on the text field.
My query called (email_query) has the following columns
cancellation_id (PK), company_name (FK), cancellation_date, product, email_sent (yes/no)
Now for part 2. Once I get that code into a field, I have created a e-mail button that will send an e-mail to a specified address with the information. At this stage I would also like to update my table called cancellations and would like to mark a field called email_sent as TRUE for all those cancellation_ids that were sent in the e-mail.
Can anyone help me get started on both parts, if more info needed please ask.