Go to Contents
Previous
Page
Next
Page
Contents > Script steps reference (alphabetical list) > Records script steps > Copy Record/Request script step

Copy Record/Request script step
Format

Copy Record/Request
Options
None.
Web compatibility
This script step is web-compatible.
Description
Copies the values of a record or find request to the Clipboard. Text fields are copied in tab-delimited format, without styles, in the order they appear in the record layout. Text in container fields is also copied. (This step is equivalent to choosing Copy from the Edit menu when there is no active field.)
Note   When using the Copy Record/Request step with repeating fields, FileMaker Pro inserts the group separator character between each repetition. You can use a text editor to replace these characters with another delimiter such as a tab or space.
Example
This script finds and sorts a set of records, switches to the Data Entry layout, goes to the last record, copies the entire record, switches layouts and tables, creates a new record, and pastes the contents of the Clipboard to the History field.

Perform Find [Restore]
Sort Records [Restore; No dialog]
Go to Layout ["Data entry"]
Go to Record/Request/Page [Last]
Copy Record/Request
Go to Layout ["History table"]
New Record/Request
Paste [Select; History table::History]
Commit Records/Requests []
Related topics
Script steps reference (alphabetical list)
Script step categories

Contents > Script steps reference (alphabetical list) > Records script steps > Copy Record/Request script step
Previous
Page
Next
Page