I want on my estimate report from the comment line table all the records which have the same estimate no.
Voorwaardenrec.SETRANGE(Voorwaardenrec."Table Name",Voorwaardenrec."Table Name"::Estimate);
Voorwaardenrec.SETRANGE("No.","No.");
IF Voorwaardenrec.FIND ('-') THEN
REPEAT
UNTIL Voorwaardenrec.NEXT = 0;
I have no problem to get the first of last record in the table, but i dont get all the records at the same time on my report. The problem is (I think) that i have to put a statement between repeat and until. I tried serval things, but i didnt find the right one yet. Is there somebody who wants to help me with it.
0
Comments