sam0723

Writing loop in script

Discussion created by sam0723 on Oct 25, 2016
Latest reply on Oct 31, 2016 by greatgrey

Hello everyone, i am new to filemaker. Recently, i am writing a script of copying data from other table.

Here is part of my script

 

loop

set variable[$s1 ; Value: first name]

set variable[$s2 ; Value: lastname]

Go to record[next; exit after last]

end loop

 

Go to Layout

new record

set field

 

so my question is how could i copy several records in the table A and copy this to table B?

Outcomes