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.