Example

Copy Records to the Clipboard.


Copy records code snippet.

The following is a simple example of how to copy records to the clipboard.  The code snippet assumes you have a DGrid control named "DGrid1" sited on the form.


    'Copy the current selection to the clipboard
    DGrid1.Copy
    'Copy the entire grid to the clipboard
    DGrid1.Copy True