I think a report variable is the correct strategy. Please explain in what sense the solution is not satisfactory.
>I have create a report "Bank wise report.FRX" in Report Designer.
>
>I want to print 30 Records in Every pages and after every Five records leave one line space and Print.
>
>I hvae already asked this question
>
>the reply given by one member below
>
>One way:
>- Create a variable (named r_countRecno) in report to count the records (Calculation Type = Count and Reset Value Base on = Page). (menu: "Report | Variables...").
>- Create other variable (named r_group) to count the 30 records for each page. Thus: Value to Store = Iif(Mod(r_countRecno, 30) = 0, 1, 0) and Calculation Type = Sum.
>- Create a group and put r_group in "Group on".
>- In detail band, create your line with yours datas. Put the controls like label and field.
>- In detail band, put a field that occupy one line and in "Print When" (field's property), check "Remove line if blank" and put IIFMod(r_countRecno, 5) = 0, "A", "") in "Expression". Set the field's color to White.
>
>I have tried but the result is not right what i am expected
>
>kindly give the another solution.
>
>Thanking you
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)