Don't use "file:" & Get ( TemporaryPath ) & "test.jpg"], just Get ( TemporaryPath ) & "test.jpg"]
but it is easier to use set Variable[$var;Table1::Containerfield1]
and set Field [Table2::Containerfield2; $var]
(or set Field [Table2::Containerfield2; Table1::Containerfield1]if you have a direct relation between Table1 and Table2
Hope that helps,
Thanks! Now it works! Only one question:
When I use set Variable[$var;Table1::Containerfield1] and I set Containerfield2 to this $var in the same script, it works, but when i make 2 scripts, one for the loop over the portal records and within each step I call a second script for inserting the data in Containerfield2 with Perform Script ["InsertRecords"; Parameter: $RecordID & "¶" & $var & "¶" & $secParam] the image will be inserted as an Icon with a filename. Have I to hexencode or base64encode or such other encoding the parameters?