Home > Software engineering >  Activereport VB to page 6.0 how to control the number of rows, consult a great god!!!!! Be urgent!!!
Activereport VB to page 6.0 how to control the number of rows, consult a great god!!!!! Be urgent!!!

Time:09-26

At present our business needs will be the total number of records than 32 paging, means when shows 32 rows (unlimited number of pages), paging, excuse me how to operate! I searched information are not! Please the great god a horse!

CodePudding user response:

What is activereport?

CodePudding user response:

How to achieve manually in activereports paging?

Two simple methods:

1, first of all, where may need paging insert page break, and then control it Enabled attribute in your code, such as:

 Private Sub PageHeader_Format () 
The Static x As Long

X=x + 1
Disables the page break for all but the first page
If x & gt; 1 Then
Me. PageBreak1. Enabled=False
End the If
End Sub

Of course, you can insert a lot of page breaks control respectively.

2, with a way to add controls to run when needed to add paging controls. Method of adding controls runtime see AR with VB Print MS FlexGrid in the sample.

CodePudding user response:

VB pages is actually very simple, set up need to display the number of records, each page should figure out how many pages, is ok, if you need, can help you,
  • Related