Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello , I have declared my variables are as follows:-
LET vFirstText = 'My Salary';
SET vSecondText = 'My Incentives';
SET vMySalary = 1000;
SET vMyIncentives = 200;
SET vTotalSalary = vMySalary + vMyIncentives;
SET vThirdText = 'My Salary';
Now I want to show value at my text box object as:
My Salary : 1200
I have done this as =$(vThirdText) & ' ' & $(vTotalSalary).
but it gives me an error:-
Error: Garbage after expression.
What should I do now?
Define you vTotalSalary variable by using LET statement like below:
LET vTotalSalary = vMySalary + vMyIncentives
and use below expression in text object:
=vThirdText&' : '&vTotalSalary
Define you vTotalSalary variable by using LET statement like below:
LET vTotalSalary = vMySalary + vMyIncentives
and use below expression in text object:
=vThirdText&' : '&vTotalSalary
Thanks,
It is very helpful.
Glad it helped you.
can you please close the thread by marking the answer correct?