CopyToClipboard Method
The CopyToClipboard method copies the contents of the table field to the system clipboard.
This method has the following syntax:
integer = table_field.CopyToClipboard([headers = smallint]
[, transpose = smallint] [, visibleonly = smallint])
All parameters are optional and default to FALSE.
This method has the following parameters:
headers
Copies the column header text
transpose
Changes the orientation of the data (for example, from horizontal to vertical)
visibleonly
Copies only the visible data
The format is a text string format with tab-separated items in a row, and Ctrl/NL separating the rows. This is compatible with how many other programs would import this data.
If the copy succeeds, this method returns ER_OK. Otherwise it returns a non-zero value.
Last modified date: 12/20/2023