betachristopher
Programmer
I'm trying to get a row count using the below formula. My problem is that it only increments at the next record, but the next record isn't the next row. I am using 20 detail sections. In each section I have added the same formula. The data I am pulling is patient lab results. The client wants each lab result to appear on a separate line with the patient information repeated on each line. When I use this formula, the first 20 lines all display a line count of 1, and the next 20 lines for the next patient display a line count of 2. But I need each line to be counted distinctly. Can anyone help me?
Code:
Whileprintingrecords;
numbervar linecnt := linecnt +1