Copies all selected records to the clipboard. The data is converted to text, in which columns are separated by tabs, and records by newline characters.
DataToClipboard() can only be used to copy data that has been explicitly selected. To copy the current record, you must first use RecordSelect(). To copy all records resulting from a query, you must first use RecordSelectAll().
For example, you can use the following method call script to copy the currently displayed record to the clipboard:
The columns that are copied will be separated by tab characters.