Using variables in TPX panels

Document ID : KB000050845
Last Modified Date : 14/02/2018
Show Technical Document Details


When creating or altering TPX panels you need to take care of variables if they are followed by a hyphen?


A hyphen '-' after a variable causes the variable and the hyphen itself to vanish instead of being displayed.

If directly after the hyphen a non blank character is coded, that character also vanishes from the display.

%      &XPTNAME-User   
is displayed as   

Solution is to code a dot after the variable as delimiter:

%      &XPTNAME.-User   
is displayed now as   

assuming that the variable &XPTNAME contains the String 'TPX'.