Using variables in TPX panels

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

Description:

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

Solution:

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   
   
       ser 

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

%      &XPTNAME.-User   
   
is displayed now as   
   
       TPX-User

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