Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

clear range

52 views
Skip to first unread message

ggg

unread,
Dec 15, 2009, 2:30:14 PM12/15/09
to
Hi, everytime I execute a report , the ranges stays with the last values I
set to the previous report execution. How do I do, everytime I execute a
report, clear every range?.

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4691 (20091215) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


GregP

unread,
Dec 16, 2009, 3:48:01 AM12/16/09
to
Try using this snippit in your reports init() method:

if (xSysLastValue::existLast(this))
{
xSysLastValue::deleteLast(this);
}

--
http://gregondax.wordpress.com


"ggg" wrote:

> .
>

ggg

unread,
Dec 22, 2009, 4:57:50 PM12/22/09
to
It doesn't work :(

"GregP" <Gr...@discussions.microsoft.com> wrote in message
news:099E6DB7-0CA5-4EA9...@microsoft.com...

> signature database 4710 (20091222) __________


>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4710 (20091222) __________

shivraj

unread,
Dec 23, 2009, 3:17:01 AM12/23/09
to
Override the pack() method of the report to return Null value of the
container.

After that clear the usage data for the one time and run your report.

Returning null value from the pack value will never store any last value and
your ranges will always be cleared.

-Shiv

"ggg" wrote:

> .
>

0 new messages