Problem with where ???? Need Help

make

Member
Hi there

After my code FIND an Xartikel.Glas = m2t2f2am.kombi_kz the code should compare the actual Xartikel.glas with the next xartikel.glas
current(xartikel.glas)=next(xartikel.glas) !
is this case false the m2t2f2am.value should be in the ttglas.ikombi. In the other case the code should go on with the next value from m2t2f2am.kombi_kz(I mean the first line of the code).
I thought about that, but I dont know, maybe with find next(...), but in this case i need an Index.?? Hmmmm ?

The code : current status



Main:

for each m2t2f2am no-lock:
find xartikel where xartikel.glas = m2t2f2am.kombi_kz no-lock.
if not available xartikel OR xartikel.geloescht= true
then next.
else do:
create ttglas.
assign ttglas.ikombi = m2t2f2am.kombi_kz.
end.
end.

Anyone there who can help me ???

Make
 
Top