December 31, 200421 yr Hello, I posted this in the Scriptmaker forum but only got one reply so thought I would try here...I have written a script that loops through a selection of records and sends out an email (using value of global fields as subject and body). I would like to keep a record of what email was sent to whom so I created a related table (related via an auto-generated, unmodifiable number field) to hold this information. Each time an email is sent I would like to automatically create a new record in the related table and fill it with the sequence number of the current record in the loop, the current date, and the subject of the email. I would then display these records via a portal. I thought I could call New Record/Request within the loop but don't see any way to specify the table. How do I auto-create these portal records? TIA, rlbryant
January 1, 200521 yr Author Thank you Transpower. I posted the script in the "Scriptmaker" forum where the original post is. I'll end the thread here. rlbryant Go to Layout for that table, then create the new record.
Create an account or sign in to comment