Page 1 of 1

cLast return 0

Posted: Mon Sep 08, 2014 2:24 pm
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.

Re: cLast return 0

Posted: Mon Sep 08, 2014 4:23 pm
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.