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,