Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Code justs stop to run ....

This is my code, or, its the beginning of something, but it crashes already, without an error, only 1 trace command works, on the second the code stops.

Let l3 = 1;
Do While l3 < 5
Let Command = '';
For field = 1 to 4
if field = l3 then
Let Command = Command & '*';
else
Let Command = Command & 'F' & field;
end if
if field < 4 then
Let Command = Command & '/';
end if
Next field
Trace Command = $(Command);

Let l3 = l3 + 1;

Loop

1 Reply
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Harry, I copied your code and I ran it on QV 9.00 SR3, and it ran just fine... It produced some wierd Command values, but it didn't fail...

Try running it via Debugger and see what's going on. Are you sure you don't have any other commands that migt cause a failure?