Send to clipboard

Command group Flag affected Reversible Execute on client Platform(s)
Report destinations NO YES NO All

Syntax

Send to clipboard

Description

This command sends the output of any subsequent reports to the clipboard. The report is printed as a text-only file and all text formatting is ignored. If two reports are sent to the clipboard, the second report overwrites the first. Once a report has been sent to the clipboard, you can launch another program, such as a word processor, and paste the report into it.

If you use Send to clipboard in a reversible block, the report destination reverts to its former setting when the method terminates. The contents of the clipboard are not altered by the command or its reversal.

If you want to copy pictures from a report to the clipboard, you can print the report to screen and use the mouse to select the area required. The standard Edit menu Copy option will copy the graphic to the clipboard.

Example

Send to clipboard 
Set report name rMyReport
Print report
# now launch word processor and paste
Launch program NOTEPAD.EXE Returns lStatus
If lStatus
  Paste from clipboard
End If