Numbering records on a report?

I must have missed something in the Fine Manual…

How do I sequentially number records on a report?

I’ve tried %%recordIndex%% as text in a label (with tags turned on!) but that appears to display the number of the current record against every record :-(

Thanks,
Neale.

Only in printing the sequencial record number is supported (called %%currentRecordIndex%%) , recordIndex is the selected record index from the foundset!

Thanks for the input, but it doesn’t work for me (as in putting %%currentRecordIndex%% in the “text” of a label).

The behaviour is “odd”. When the form (list-view) is first displayed all the labels are blank (I can live with that, for a feature that’s only supposed to work when printing) but in print preview the labels remain blank (verified with print-to-file). Now the “oddest” bit - on exiting print preview the labels all show what appears to be the record count of teh foundset but revert to blank in print preview.

FWIW, this is Servoy Developer 2.0.4 build-277.

Thanks,
Neale.

We have improved this so it will work in normal editting and printing (Servoy 2.1 rc5 or final)