Go to Layout (Your layout)
Go to Field (Your content changing field)
Enter Find mode
Go to field (Your field where you want to find something - probably the same field you copy from)
The copy/paste method is highly deprecated.
Use your $var ( or a global field ) instead. Something like:
Set Variable ( $find ; Value: YourTable::YourField )
Enter Find Mode [ ]
Set Field [ YourTable::YourSearchField ; $find ]
Perform Find [ ]
The script above is minimal... you may need to add a trap for errors due to lacking of record that satisfy the given condition.
Thanks Littledog, that did the trick!
Daniele's method is much better. Using copy and paste like this leaves you open to having your script fail to work (and without displaying any error message to tell you that it failed or why.) if one of the fields referenced by the copy and paste steps are removed from the layout at some future date. It also destroys any data that the user may have copied to the clipboard.
Using Set Field/Set Variable avoids both issues.