found it finally myself... I just deleted the Set Fields lines and opened the Perform Find, added an action and defined the fied and criteria while the criteria was a "list of the needed Values, separeted by a Line feed".
That does it.
you can also put "new record/request" between the two set field commands to give yourself an "OR" search in the same field.
It's the same process as using find mode to look for "OR" values.
ALso you don't need the trailing "enter browse mode" filemaker automatically does that for you with perform find.
You'll also want to turn error checking on, to trap for if no records are found:
Set Error Capture - ON
Enter Find Mode
Set Field (Table::field, "Employee")
New Record / Request
Set Field (Table::field, "Apprentice")
If (get(lastError) = 401 )
Enter Browse Mode
Show Custom Dialog "ERROR - no records match search"
thanks as I learn more and more with all your hints (as you are kind to be very active). One side question: how can you copy and paste (here!) your scripts? CMD + C an CMC+V do not work. And typing everything manually can provide failures...
in the script editing window you can go under the file menu and hit "print", I have a PDF printer that saves a PDF of the script. I can then either upload that PDF (you need to hit "use advanced editor" to upload files here), or I can copy and paste out of the PDF here.
Alternatively, there are a few clipboard plugins that let you copy scripts to the clipboard. MyFMButler's Clip Manager is one of them:
the Butler would be nice but is a but too expnsive for me. Therefore I also will bend to use the PDF approach. Thanks for the hint.