Automation Engine Script Guide > Ordered by Function > User Data > SYS_ACT_CLIENT

SYS_ACT_CLIENT, SYS_USER_CLIENT

Script Function: Returns the number of the current client

Syntax

SYS_ACT_CLIENT ()
SYS_USER_CLIENT
()

Return code

Number of the current client

Comments

The number returned is the four-digit client number with leading zeros. The client in which the task calling this script function runs is used.

Example

The number of the current client is read in the script variable. One line with this information (e.g.: "0003") is given in the report.

:SET &CLIENT# = SYS_ACT_CLIENT() 
:
PRINT "Current client: &CLIENT#"

 

See also:

Script element Description

SYS_ACT_CLIENT_TEXT

Returns the text of the current client

Script Elements - User Data

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function