Question : number the records in 4gl query

I have a query I have built using 3 tables.  The query builder also allows for calculated fields.  What I am trying to do is add a calculated field to number the records returned.  Simply I am looking for 1,2,3,4,5 etc  This is unique for me as I do not have much experience with Progress 4gl syntax.  Playing around and trying different snippets I have found I do get a result with all fields with a 1 with the following statement in the calculated field.

Num-entries(PartLot.LotNum)

Answer : number the records in 4gl query

I have given up the chase and have turned to Crystal reports using the count function.
Random Solutions  
 
programming4us programming4us