report

surisuri Member Posts: 123
dear sir,
i have a problem with gaps concept(if no is missing) in the particular table...
i have a g/l entry table (17),in this table we have a entry no field ,i want to generate a report where there was gaps in between the entry no's.
in that table previously i have a values upto(2773),manually i have entered 2778,
while coming to the report sections i have taken these fields ,
and written some code in


G/L Entry, Body (2) - OnPreSection()
IF "G/L Entry".FINDFIRST THEN REPEAT
i :=i+1;
IF "G/L Entry"."Entry No."<>i THEN BEGIN
MESSAGE('%1',i);
END;
UNTIL "G/L Entry".NEXT =0;

but while running this report ,it was showing the output as (2778);
but actual output must be (2774,2775,2776,2777).

can you suggest me where i have done wrong
thanking you

Comments

Sign In or Register to comment.