Download ActiveReports 6 User Guide
Transcript
ActiveReports 6 User Guide | 312
If you preview the report at this point, one copy of each label appears on the page.
To add code to the detail_Format event to repeat labels
1.
2.
Double-click in the detail section to create a detail_Format event.
Add the following code to the event to repeat each label across all three columns.
To write the code in Visual Basic.NET
Visual Basic.NET code. Paste INSIDE the Format event.
'print each label three times
Static counter As Integer
counter = counter + 1
If counter <= 2 Then
Me.LayoutAction = 3
Else
Me.LayoutAction = 7
counter = 0
End If
To write the code in C#
C# code. Paste JUST ABOVE the Format event.
int counter=0;
C# code. Paste INSIDE the Format event.
//print each label three times
counter = counter + 1;
if (counter <= 2)
{
this.LayoutAction = LayoutAction.MoveLayout|LayoutAction.PrintSection;
}
else
{
this.LayoutAction = LayoutAction.MoveLayout|LayoutAction.NextRecord|LayoutAction.PrintSection;
counter = 0;
}
Related documents
ActiveReports 7 User Guide
Warranty - Advanced Test Equipment Rentals
CK30 Handheld Computer User's Manual
l6.2.5 Programmstart und Audio-Alarm
CMSi Admin Manual - Conservation Management System
Contract Management Tracking Software
CuteReport User Manual - The UK Mirror Service
MAPublisher 8.0 User Guide
Pyramid TimeTrax Mobile Time System User Manual
602LAN SUITE 2004 Manual
Product Manual - Time Clock Experts