Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Line Numbers 1

Status
Not open for further replies.

stevesd

Technical User
Dec 26, 2000
74
US
Does anyone know how to make line numbers appear
before each line of detail for a CR8 report? It seems simple but not obvious how to do it.
Thanks.
 
Thanks, man.
I just slapped my forehead! I will sure try.
 
Using Recordnumber will only work if all records are used
(ie...there is no further filtering in a record select)

Another method is to put a small formula called LineCount in the detail line

>********************** start ***************<

numbervar linecounter;

// remove this if an initializing formula is used.
if OnFirstRecord then linecounter := 0;

linecounter := linecounter + 1

linecounter;

>********************** end ***************<

this will increment and display linenumber

you can get fancy and set lincounter to zero at the start of each group to get a line count within each group with an initializing formula

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top