A script isn;t necessary.
If Table 1 is related to Table 2 you could set the field to be
List ( Table1ToTable2Relationship::FieldToConcatonate )
This would give you a return-separated list of all the related values.
You could put it inside a Substitute function and replace all the returns with " - ".