cLast return 0

Stimulsoft Reports.NET discussion
Post Reply
renathucazari
Posts: 15
Joined: Fri Jan 20, 2012 9:06 am
Location: Brasil

cLast return 0

Post by renathucazari »

How to know if the record, is the last the page within the DataBand.

I'm using:
object last = cLast (DataBand2, MOVIMENTO.CODIGO_DOCUMENTO);

but always returns 0.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: cLast return 0

Post by Jan »

Hello,

You can use following expression if you need get latest value at page in text expression:

Code: Select all

{cLast(DataBand2,MOVIMENTO.CODIGO_DOCUMENTO)}
Unfortunately you can't use this expression in script.

Thank you.
Post Reply