Create a RunningTotal (RT1)
select:
Field to summarize -> database_field_box
Type of summary -> count
Evaluate -> for each record
Reset -> Never
----
Create a formula (F1)
Whileprintingrecords;
Stringvar sss;
sss := totext(RT1)+"Of"+totext(Count({database_field_box}));
sss;
---
Now place F1 in the detail section.. you should be good!