fa********@tiscali.it (Marco) wrote in message news:<21**************************@posting.google. com>...
I need to force the new page in a particular point of a report
according the value of a variable or an expression (if varX=true then
force the new page).
Thanks in advance for tips.
You can use code in the onformat event of the detail section of the report e.g.
If Nz(Me!pagebreak, 0) = -1 Then
Me.Detail.ForceNewPage = 1
Else
Me.Detail.ForceNewPage = 0
End If
where pagebreak in this case is a boolean that is not visible on the report.