Access row count

J

Joseph

Hi, I am trying to create a report in Access 2003 where I can obtain the
number of rows and assigning the row number in the results like the following
example:

ROW NUM FName LName
------------------------------------------
1 James Bond
2 Albert Einstein
3 Bill Gates
4 George Washington
5 Abraham Lincoln
6 Marie Curie


How can I accomplish this?
Thanks
 
F

fredg

Hi, I am trying to create a report in Access 2003 where I can obtain the
number of rows and assigning the row number in the results like the following
example:

ROW NUM FName LName
------------------------------------------
1 James Bond
2 Albert Einstein
3 Bill Gates
4 George Washington
5 Abraham Lincoln
6 Marie Curie

How can I accomplish this?
Thanks

Add an unbound text control to the detail section of your report.
Set it's control source to:
=1
Set it's Running Sum property to Over All.

That's it.
 
J

Joseph

Thanks Fred,

Works like a charm!

fredg said:
Add an unbound text control to the detail section of your report.
Set it's control source to:
=1
Set it's Running Sum property to Over All.

That's it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top