whileprintingrecord; numbervar Hole := {table.End_num} +1; while Hole < (next({table.Start_num} -1) Do ( Hole := Hole +1; ); Hole
Any guidance would be appreciated, seems like maybe I need to store the values in an array then print them in my report. I am still getting the hang of crystal syntax.
Joined: 19 Jun 2007
Location: United States
Online Status: Offline
Posts: 432
Posted: 11 Mar 2010 at 1:40pm
You could use either next Previous or Next and create some logic to insure it is +1 or -1 as a comparison, then print accordingly. You would need the right logic to move through the records.
This syntax will not be correct but may get you thinking, it comes from the a sample in the CR Help file:
If Next({file.QTY})<>0 Then {file.QTY}/2 Else {file.QTY}
You will have to get the '4' seperate from the '8 and 9' and you will have to convert them all to text becasue the 8-9 will be in the same text display (same as the example but with dates).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum