Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I am trying to use the function repeat in a macro section, but it doesn't work. Why?
c1_esp=21-len(c1)
temp_c1 = repeat(chr(32),c1_esp) & c1
Thanks
Repeat is a QlikView function. Macros use either vbscript or jscript.
vbscript doesn't have a repeat function.
Ok, really... I forgot it.
Here the solution.
c1_esp=21-len(c1)
temp_c1 = string(c1_esp,chr(32)) & c1