Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I mean, I need a ciclo in an expression because
the value of this field that I need to calculate dynamically.
for example the cost promedio which depends to de quantity in the wharehouse and the quantity of buy.
somebody know any way to do this.
best regards.
Not sure if I understand, you mean a loop in a (chart) expression?
Can you describe a bit closer what you want to achieve, maybe with some sample lines of data and your expected outcome?
swehl thanks for the answer,
yes I need a loop if is possible like 'while' or something like that,
and nested
some like this
while (var1 < var2)
begin
etc.
etc.
if(var1<>0)
etc.
while(var3<> var1)
begin
end
end
thanks a lot.
And you want to do this in a chart / frontend expression?
In general, that's not the way QV works, but maybe there is an approach using aggregation functions. Could you describe your business requirement?
And if possible, try to create a small sample QV application and attach your expected expression outcome.