S
Sarah
I have a report used to display box numbers by category (record series). I
have the report grouped by RSNo, then sorted by BoxNo with a page break
forced when a new RSNo occurs. Additionally, however, there should be a new
page if the box numbers within the RS are not consecutive. For example, if
the box number in RS1 are 1235, 1236, 1237, 1240, 1241, and 1242 I should end
up with two pages. The first page should have 1235, 1236 and 1237 and the
second page should have 1240, 1241, and 1242. I thought I could do this
using VB and an if...then...else statement such that
If BoxNo.CurrentValue (which I don't know how to get) = BoxNo.NextValue
(again, I don't know how to get or even if it is possible) +1
Then
ForceNewPage=0
Else
ForceNewPage=2
End If
However, since I don't know how to get those values, or even if it is
possible, I have not been able to get this report to work. Does anyone know
how I can do this either using this method or some other method?
Thanks in advance,
Sarah
have the report grouped by RSNo, then sorted by BoxNo with a page break
forced when a new RSNo occurs. Additionally, however, there should be a new
page if the box numbers within the RS are not consecutive. For example, if
the box number in RS1 are 1235, 1236, 1237, 1240, 1241, and 1242 I should end
up with two pages. The first page should have 1235, 1236 and 1237 and the
second page should have 1240, 1241, and 1242. I thought I could do this
using VB and an if...then...else statement such that
If BoxNo.CurrentValue (which I don't know how to get) = BoxNo.NextValue
(again, I don't know how to get or even if it is possible) +1
Then
ForceNewPage=0
Else
ForceNewPage=2
End If
However, since I don't know how to get those values, or even if it is
possible, I have not been able to get this report to work. Does anyone know
how I can do this either using this method or some other method?
Thanks in advance,
Sarah