Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Next Function

Status
Not open for further replies.

mmemon

Programmer
Nov 21, 2002
46
US
Hello All
I have a formula that looks like this
{@Name} = next({@Name}) and {@MessageValueIf} = next({@MessageValueIf}) and {@FieldValues} = next({@FieldValues})

Now In the details section I supress this formula. Basically what it does is elimiated duplicate rows. If the next row is equal to the current row, then only 1 row will show.

It works fine however, the last record on the report doesn't display the row even if it is not a duplicate.

I have tried many things and nothing is working. Any suggestions?
 
Hi !

I don´t know how your formula works, but have you tried to use the OnLastRecord function ?

if not OnLastRecord then
{@Name} = next({@Name}) and {@MessageValueIf} = next({@MessageValueIf}) and {@FieldValues} = next({@FieldValues})


Maybe it will help you.

/Goran
 
Goran

That worked! Thank You so much!! Your a lifesaver.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top