I have the following loop:
def var siteval as logical.
update siteval.
For each in_mstr no-lock:
display in_part.
end.
What I want to do is that if the user wants to order by
the site, I want to do it in the same look.
Is it possible to do something like this as follows:
For each in_mstr no-lock {&If siteval then BY in_site}:
display in_part.
end.
This doesn't work. I want to do it in the same loop.
Thanks
def var siteval as logical.
update siteval.
For each in_mstr no-lock:
display in_part.
end.
What I want to do is that if the user wants to order by
the site, I want to do it in the same look.
Is it possible to do something like this as follows:
For each in_mstr no-lock {&If siteval then BY in_site}:
display in_part.
end.
This doesn't work. I want to do it in the same loop.
Thanks