Division Name/Address in RDL Print Header¶
If the client has multiple branches and wants to print the branch Name/ address in the Print Header instead of the company name,
This can be achieved by the following configuration.
SET RDLPRINTING.VARTEXT = SELECT D.[NAME], D.COMADD [ADDRESS], C.VAT FROM DIVISION D, COMPANY C, PURMAIN P WHERE P.DIVISION = D.INITIAL AND P.VCHRNO = '{0}' WHERE VARNAME = 'Company'