Event triggerd twice problem

Stimulsoft Reports.NET discussion
Post Reply
xmuxsp
Posts: 4
Joined: Tue Mar 22, 2011 3:39 am
Location: China

Event triggerd twice problem

Post by xmuxsp »

Hi,all

I have a question about my report:why the Databand`s before printing event always triggered twice,that i cant use the event to print my own line number.
Could anyone give me a hand?
Attachments
1699.report.mrt
(667.35 KiB) Downloaded 293 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Event triggerd twice problem

Post by HighAley »

Hello.
xmuxsp wrote:I have a question about my report:why the Databand`s before printing event always triggered twice,that i cant use the event to print my own line number.
Could anyone give me a hand?
You set the NumberOfPass property of the report to DoublePass.
Therefore each event triggered twice - on each pass.
You should initialize your counters in the 'Begin Render' event of the report.

Thank you.
xmuxsp
Posts: 4
Joined: Tue Mar 22, 2011 3:39 am
Location: China

Event triggerd twice problem

Post by xmuxsp »

Aleksey wrote:Hello.
xmuxsp wrote:I have a question about my report:why the Databand`s before printing event always triggered twice,that i cant use the event to print my own line number.
Could anyone give me a hand?
You set the NumberOfPass property of the report to DoublePass.
Therefore each event triggered twice - on each pass.
You should initialize your ваши counters in the 'Begin Render' event of the report.

Thank you.
It works.Thank you.

I never change the settings before but suddenly it changed from one pass to double pass.That is amazing.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Event triggerd twice problem

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply