Page 1 of 1
Event triggerd twice problem
Posted: Tue Mar 06, 2012 6:22 am
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?
Event triggerd twice problem
Posted: Wed Mar 07, 2012 4:02 am
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.
Event triggerd twice problem
Posted: Thu Mar 08, 2012 5:09 am
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.
Event triggerd twice problem
Posted: Fri Mar 09, 2012 1:44 am
by Ivan
Hello,
We are always glad to help you.
Let us know if you need any additional help.
Thank you.