Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I want to create a environment variable.
Actually we are doing development in test server then we move to prod sever.
Application has path like [\\100.10.0.10\Qlikview\Data\filename.xls] --------- in test server
Whenever I move to prod it will get failed due to path error, prod server (IP) name is different, path should be like this [\\1001.11.0.11\Qlikview\Data\filename.xls]'----- in prod server
So I created environment variable like as
LET vServerName = ComputerName();
IF ComputerName = 'Devservername' then
SET vEnv = '\\100.10.0.10';
else
SET vEnv = '\\1001.11.0.11';
ENDIF
However its not working, it execute always else condition (actually vEnv should contain \\100.10.0.10 but it contain \\1001.11.0.11.
There is any mistake in the code.
Could you please assist on this.
Thanks,
Nihhal.
That is strange, I would not have expected to have any issues with what avinashelite gave