SENDTOTABSHEET (STT)
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
SENDTOTABSHEET (<Tab id>, <Text>)
Description
Sends text to an extra tabsheet, next to the form tabsheet, and displays the specified text.
Diagram
Returned value type
None
Parameters
Parameter | Description |
<Tab id> | Sequence number of tabsheet to add to the form. Must be a literal between 2 and 5. |
<Text> | A variable or literal containing the text to be sent, including optional HTML formatting. |
Remarks
A REFRESH() command must be used after the SENDTOTABSHEET command to display the tabsheet.
Empty strings will not open a new tabsheet.
Sending multiple pages at the same time in the AMT web client can result in unreliable results depending on the
browser used.
This is due to restrictions of the amount of pop-ups that can be opened in quick succession.
To be able to use HTML formatting in AMT Screens, a <html> tag should be added to the beginning of the text. See the example below.
Example
sendtotabsheet (2, 'Extra tabsheet')
stt (3, sa-errormessage)
stt (5, '<html><strong>Hello World!</strong>')
Refresh ()
stt (3, sa-errormessage)
stt (5, '<html><strong>Hello World!</strong>')
Refresh ()