Copies a set of records as text to the Clipboard.
ApplicationObject.DataToClip([nWorkArea | cTableAlias] [, nRecords] [, nClipFormat])
- Specifies the work area number of the table for which records are copied to the Clipboard. If you omit cTableAlias and nWorkArea, records are copied to the Clipboard for the table open in the current work area.
- Specifies the alias of the table for which the records are copied to the Clipboard.
- Specifies the number of records copied to the Clipboard. If nRecords is greater than the number of remaining records in the table, all the remaining records are copied to the Clipboard. If nRecords and nClipFormat are omitted, the current record and all remaining records are copied to the Clipboard.
Specifies how fields are delimited. The settings for nClipFormat are:
If nClipFormat is omitted, fields are delimited with spaces.
(Default) Fields delimited with spaces
Fields delimited with tabs
The field names appear as the first line of the text copied to the Clipboard, followed by a separate line for each record.