Hi there,
i want to look if a tt.aarnr is in lfschein.aarnr. If this is true the next lfschein.aarnr should be tested. But in my solution the next tt.aarnr will be tested.
When a tt.aarnr is found my programm should go on with the next lfschein.
FOR EACH lfschein use-index lfsdatum WHERE lfschein.lfsdatum >= ChVon
AND lfschein.lfsdatum <= ChBis
NO-LOCK:
Find tt
where tt.aarnr = lfschein.aarnr no-lock no-error.
if available tt then do:
next.
end.
Thanx Make
i want to look if a tt.aarnr is in lfschein.aarnr. If this is true the next lfschein.aarnr should be tested. But in my solution the next tt.aarnr will be tested.
When a tt.aarnr is found my programm should go on with the next lfschein.
FOR EACH lfschein use-index lfsdatum WHERE lfschein.lfsdatum >= ChVon
AND lfschein.lfsdatum <= ChBis
NO-LOCK:
Find tt
where tt.aarnr = lfschein.aarnr no-lock no-error.
if available tt then do:
next.
end.
Thanx Make