Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
64 FileMaker Script Steps Reference
Web compatibility
This script step is web-compatible.
Description
Commits a record. The Commit Record/Request script step exits the current record or find
request, updating field data and making no field active.
Example
Show Custom Dialog ["Commit record or revert changes?";
"Click 'Commit' to save your changes, or 'Revert' to
discard changes to this record."]
#1 = Commit, 2 = Revert
If [Get(LastMessageChoice) = 1]
Commit Records/Requests
Else
Revert Record/Request [No dialog]
End If
Copy Record/Request
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.