# Report builder Question? (assigning record #s) **Category:** [Yahoo Archive](https://www.epiusers.help/c/yahoo-archive/9) **Created:** 2000-09-05 09:07 UTC **Views:** 339 **Replies:** 0 **URL:** https://www.epiusers.help/t/report-builder-question-assigning-record-s/1016 --- ## Post #1 by @system
> From: "Jim Stetter" <jimstetter@...>
> Subject: RE: Report builder Question?
>
> If you could somehow assign each record a record#, then you could do a
> calculated field using
> iif(Recno = 1, 0, (Recno - 1) MODULO (#of columns)), then sort by the
> calculated field and Recno.
> This would sort the records such that for columns=3; records 1,4,7...
> would =0; records 2,5,8..=1... effectively transposing the rows into
> columns. Like Wayne, I have not figured out how to assign a record #.
> Regards
> Jim Stetter