Data from one table to another related table
I am trying to take data from one field via a script and replace the contents of a field in a related table. I have tried all day without success. Can someone point me in the right direction. The relationships are correct.