A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sequentially numbering records



 
 
Thread Tools Display Modes
  #1  
Old July 19th, 2006, 09:03 PM posted to microsoft.public.access.reports
Ricter
external usenet poster
 
Posts: 170
Default Sequentially numbering records

The tables are, for example, tblContainers and tblItems. A container may
have one or more items, so they've been related this way.

Generating the report that subdivides items by their container is easy.
What I'd like to know is how can I sequentially number the items, 1 to n,
regardless of the container they're in? That is, if I have 100 items packed
in 5 containers, I want the report to show a unique Item No. next to each
item...

Thanks
  #2  
Old July 19th, 2006, 09:39 PM posted to microsoft.public.access.reports
Larry Linson
external usenet poster
 
Posts: 3,112
Default Sequentially numbering records


"Ricter" wrote in message
news
The tables are, for example, tblContainers and tblItems. A container may
have one or more items, so they've been related this way.

Generating the report that subdivides items by their container is easy.
What I'd like to know is how can I sequentially number the items, 1 to n,
regardless of the container they're in? That is, if I have 100 items
packed
in 5 containers, I want the report to show a unique Item No. next to each
item...


Add a Calculated Control, with a Control Source of =1. then set its
RunningSum property to "Over Group." Set the order in which you want the
items to appear by some "real" field, if it's important, because all this
does is sequentially number the items in whatever order they appear.

Larry Linson
Microsoft Access MVP


  #3  
Old July 19th, 2006, 09:57 PM posted to microsoft.public.access.reports
Ricter
external usenet poster
 
Posts: 170
Default Sequentially numbering records

Thanks Larry.


"Larry Linson" wrote:


"Ricter" wrote in message
news
The tables are, for example, tblContainers and tblItems. A container may
have one or more items, so they've been related this way.

Generating the report that subdivides items by their container is easy.
What I'd like to know is how can I sequentially number the items, 1 to n,
regardless of the container they're in? That is, if I have 100 items
packed
in 5 containers, I want the report to show a unique Item No. next to each
item...


Add a Calculated Control, with a Control Source of =1. then set its
RunningSum property to "Over Group." Set the order in which you want the
items to appear by some "real" field, if it's important, because all this
does is sequentially number the items in whatever order they appear.

Larry Linson
Microsoft Access MVP



  #4  
Old July 20th, 2006, 12:59 AM posted to microsoft.public.access.reports
Larry Linson
external usenet poster
 
Posts: 3,112
Default Sequentially numbering records

"Ricter" wrote

Thanks Larry.


You're most welcome.

Larry


  #5  
Old April 13th, 2010, 10:01 PM posted to microsoft.public.access.reports
Deenos
external usenet poster
 
Posts: 4
Default Sequentially numbering records

Hello Larry,

What if you wanted to use letters instead of numbers eg. a. b. c. d. etc.
--
Deenos


"Larry Linson" wrote:


"Ricter" wrote in message
news
The tables are, for example, tblContainers and tblItems. A container may
have one or more items, so they've been related this way.

Generating the report that subdivides items by their container is easy.
What I'd like to know is how can I sequentially number the items, 1 to n,
regardless of the container they're in? That is, if I have 100 items
packed
in 5 containers, I want the report to show a unique Item No. next to each
item...


Add a Calculated Control, with a Control Source of =1. then set its
RunningSum property to "Over Group." Set the order in which you want the
items to appear by some "real" field, if it's important, because all this
does is sequentially number the items in whatever order they appear.

Larry Linson
Microsoft Access MVP



  #6  
Old April 14th, 2010, 04:21 AM posted to microsoft.public.access.reports
Duane Hookom[_4_]
external usenet poster
 
Posts: 316
Default Sequentially numbering records

You could hide the =1 text box but reference it in another text box like:
=Chr(96+[txtNameOfRunningSumTextBox])

--
Duane Hookom
MS Access MVP

"Deenos" wrote in message
...
Hello Larry,

What if you wanted to use letters instead of numbers eg. a. b. c. d. etc.
--
Deenos


"Larry Linson" wrote:


"Ricter" wrote in message
news
The tables are, for example, tblContainers and tblItems. A container
may
have one or more items, so they've been related this way.

Generating the report that subdivides items by their container is easy.
What I'd like to know is how can I sequentially number the items, 1 to
n,
regardless of the container they're in? That is, if I have 100 items
packed
in 5 containers, I want the report to show a unique Item No. next to
each
item...


Add a Calculated Control, with a Control Source of =1. then set its
RunningSum property to "Over Group." Set the order in which you want the
items to appear by some "real" field, if it's important, because all this
does is sequentially number the items in whatever order they appear.

Larry Linson
Microsoft Access MVP



  #7  
Old April 14th, 2010, 07:17 PM posted to microsoft.public.access.reports
Deenos
external usenet poster
 
Posts: 4
Default Sequentially numbering records

Thank you Duane. It worked.
--
Deenos


"Duane Hookom" wrote:

You could hide the =1 text box but reference it in another text box like:
=Chr(96+[txtNameOfRunningSumTextBox])

--
Duane Hookom
MS Access MVP

"Deenos" wrote in message
...
Hello Larry,

What if you wanted to use letters instead of numbers eg. a. b. c. d. etc.
--
Deenos


"Larry Linson" wrote:


"Ricter" wrote in message
news The tables are, for example, tblContainers and tblItems. A container
may
have one or more items, so they've been related this way.

Generating the report that subdivides items by their container is easy.
What I'd like to know is how can I sequentially number the items, 1 to
n,
regardless of the container they're in? That is, if I have 100 items
packed
in 5 containers, I want the report to show a unique Item No. next to
each
item...

Add a Calculated Control, with a Control Source of =1. then set its
RunningSum property to "Over Group." Set the order in which you want the
items to appear by some "real" field, if it's important, because all this
does is sequentially number the items in whatever order they appear.

Larry Linson
Microsoft Access MVP



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.