cancel
Showing results for 
Search instead for 
Did you mean: 

smartform_header event for table

Former Member
0 Kudos

Hello All,

In a smartform, I have header event for a table and this event has to get triggered at the start of the paragraph and at the page-break.

The problem what i face is,

when the paragraph(table) get printed exactly at the start of the page(second page), header event for the table get triggered twice(one for start of the paragraph and the second for page-break) and print the header twice.

Can you help me out.

Regards,

Subramanian.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Can you just elaborate your question?.

You want to trigger header 2 times in the same page or you want avoid it printing 2 times in the same page ?.

How you want?

Regards,

Guru

Former Member
0 Kudos

Hello,

If table printing starts on one page(header at paragraph start) and extends to next page(page-break), header event should get triggered twice.

But the problem is, when the table get printed exactly at start of second page,

header appears twice(because of header event triggered for 'paragraph start' and 'page-break')

Thanks and Regards,

Subramanian.

Former Member
0 Kudos

hi,

Just double click on the header node of the table node.

And just check in the right side output options tab whether under the print time

both the checkboxes are checked .

Both should be checked . then only you can get the desired reault.

Regards,

Guru

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Use counter variable(initial value 0) and increment it once the header event is processed.

Try using Alternate and specify in the condition(use counter variable and check counter = 1) for page-break.

If not printed already,clear the counter.

Kindly reward points if it helps.