Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 27th, 2005, 12:29 PM
Registered User
Join Date: Feb 2005
Location: milan, lombardia, Italy.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default numbers on grouped records

I need a query to do an sequential record numbering on groups
of records as in the following example where the number field
is generated based on the record and location

Record Location Number
A London 1
A Paris 2
B London 1
B Madrid 2
B Tripoli 3
C Lima 1
C Berlin 2
C Moscow 3
C Cairo 4


Reply With Quote
  #2 (permalink)  
Old March 2nd, 2005, 12:49 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

What do you mean? Where is the sequential numbering? Is this the A, A, B, B, or the 1, 2, 1, or a column not shown?

Do you need to have the sequential numbering in a report? If so, that is easy to do. Why in the query?

Reply With Quote
  #3 (permalink)  
Old March 6th, 2005, 05:49 PM
Authorized User
Join Date: Feb 2005
Location: Frankston South, Victoria, Australia.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts

So mkapler,

Do you want these sequential numbers in a report? Like mmcdonal mentionned it is very easy to do in a report. Query cannot do this.

Please reply so that we know what you want. Thanks

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply Paging on Grouped Data jhansib4u XSLT 4 November 26th, 2007 01:30 PM
Grouped and sorted table row numbers ADenny XSLT 1 April 24th, 2006 10:06 AM
Calculating Grouped Report Values SteveH Access 1 October 15th, 2005 03:00 PM
Multiple controls - grouped william.murray Access 2 August 4th, 2004 04:07 AM
Averaging Grouped Data Andy Hodges SQL Language 1 April 6th, 2004 09:46 AM

All times are GMT -4. The time now is 09:12 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.