I have some problem in onlastrecord functionality.
In the database i have 32 records. But while displaying one record is getting cut(not displayed).
In report i am getting 32 records and report footer.
I have written following formula in new page before section.
if {?reccount}>((35*(TotalPageCount-1))-5) and {?reccount}<(35*(TotalPageCount-1)) then
OnLastRecord=true
reccount is the parameter field which gives total record count. If last page contains records greater then 30 but less than 35 then the 32nd record should be shifted in the second page where report footer is diaplayed.
if i hardcode the values in the if condition then it works properly i.e.
if {?reccount}>30 and {?reccount}<35 then
OnLastRecord=true
any help is appreciated
In the database i have 32 records. But while displaying one record is getting cut(not displayed).
In report i am getting 32 records and report footer.
I have written following formula in new page before section.
if {?reccount}>((35*(TotalPageCount-1))-5) and {?reccount}<(35*(TotalPageCount-1)) then
OnLastRecord=true
reccount is the parameter field which gives total record count. If last page contains records greater then 30 but less than 35 then the 32nd record should be shifted in the second page where report footer is diaplayed.
if i hardcode the values in the if condition then it works properly i.e.
if {?reccount}>30 and {?reccount}<35 then
OnLastRecord=true
any help is appreciated