473,804 Members | 3,018 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Numbering in Report

Rob
Hi,
I have an access 2000 application.I generate a report with Query
as the recordsource.Th is report is the analysis of data Vendorwise.The
vendors are listed in ascending order alphabetically, like
AT&T,CTI,DALLAS ...Verizon etc.At present in my report,I have a running
serial number 1,2 etc.But i need to have a numbering where if there
are 5 items of AT&T,it will be 1 to 5 and then if the next vendor is
ACT it should again start from 1.Hope you understand what i am trying
to achieve here.Is this possible in a query?

Or is it possible to have something like this?

1)AT&T
1.1)
1.2)

2)ACT
2.1)
2.2)

Thanks for all the help

Rob
Nov 12 '05 #1
2 1891
1. Open your report in design view.

2. Open the Sorting'n'Group ing dialog (View menu).

3. Choose the Vendor field in the Sorting'n'Group ing dialog.
In the lower pane, set Group Heading to Yes.
Access adds the Group Header.

4. In the Detail section of your report, add a text box with this
properties:
Control Source =1
Running Sum Over Group

The text box will increment by 1 within the group.

If you really need to generate the "1.1" style, it would be possible with a
running sum text box in the group header, hide the one you added to the
Detail section, and then add another text box to display:
=[BoxFromHeader] & "." & [BoxFromDetail]

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Rob" <ch*******@yaho o.com> wrote in message
news:60******** *************** ***@posting.goo gle.com...

I have an access 2000 application.I generate a report with Query
as the recordsource.Th is report is the analysis of data Vendorwise.The
vendors are listed in ascending order alphabetically, like
AT&T,CTI,DALLAS ...Verizon etc.At present in my report,I have a running
serial number 1,2 etc.But i need to have a numbering where if there
are 5 items of AT&T,it will be 1 to 5 and then if the next vendor is
ACT it should again start from 1.Hope you understand what i am trying
to achieve here.Is this possible in a query?

Or is it possible to have something like this?

1)AT&T
1.1)
1.2)

2)ACT
2.1)
2.2)

Thanks for all the help

Rob

Nov 12 '05 #2
Rob
Allen,
Thanks a lot.It worked like a charm.All you Access gurus and
MVP's who contribute here selflessly are wonderful people.

Rob


"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message news:<40******* *************** *@freenews.iine t.net.au>...
1. Open your report in design view.

2. Open the Sorting'n'Group ing dialog (View menu).

3. Choose the Vendor field in the Sorting'n'Group ing dialog.
In the lower pane, set Group Heading to Yes.
Access adds the Group Header.

4. In the Detail section of your report, add a text box with this
properties:
Control Source =1
Running Sum Over Group

The text box will increment by 1 within the group.

If you really need to generate the "1.1" style, it would be possible with a
running sum text box in the group header, hide the one you added to the
Detail section, and then add another text box to display:
=[BoxFromHeader] & "." & [BoxFromDetail]

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1912
by: Wayne Aprato | last post by:
I have a report that shows the results of a query. One of the fields is an autonumber field from the query which shows for instance: 120, 121 , 122 for 3 records. Is there a way to have another field that shows the numbering starting from 1 ie. 1, 2, 3? If the records were sorted so that the first field showed the records in the order: 121, 120, 122 then I would need the second field would show them numbered as 2, 1, 3. I would also need...
2
2311
by: Wayne Aprato | last post by:
I posted this yesterday and it seems like a moderator has thrown it in another thread. This is a totally different question to the one asked in that thread, so I'm posting it again. It is not a simple "numbering records on a report" question. It is more complex than that. I have a report that shows the results of a query. One of the fields is an autonumber field from the query which shows for instance: 120, 121 , 122 for 3 records. ...
2
3899
by: Elasho | last post by:
I have a report that groups data on an Area, the report is set to force a new page for each Area within the report. Each Area will have 1 or more pages. Is it possible to make the page numbering start at page 1 for each Area within the report. I know I could achieve this by printing each Area individually but I'd like to print them all in one go.
1
2671
by: Simon | last post by:
Dear reader, Most of the reports have a page numbering as Page x of nn, starting at the first page 1 (one) to the last page nn. But know I need to start with Page 1 of nn for each report-group.
3
5130
by: joelpollock | last post by:
I'm having trouble continuously page numbering a large report in MS Access. The report is made up of three separate Access reports which I join together at the end. In the past I have opened the reports and viewed them to see how long they are then go in and manually type the page number and total page number. I am aware of the and lines of code but this resets with each new report.
1
1591
by: seawolf | last post by:
Is there a way to create a numbering for the Details in an Access 2003 Report. For instance, if a report has 12 records that make up the Details in a report, can these be numbered, i.e., 1, 2, 3, 4, etc., for each Detail record.
4
2618
by: bhughes2187 | last post by:
I am trying to sequentially place page numbers across multiple reports. Basically what I am trying to do is on the first report, which has 3 pages, the first page is page one...after cycling through the pages and then closing the report, the next report opens and the page number starts at 4. I found an example of this, but when I try and incorporate it, it counts each line on the page as a page so instead of saying Page 1, it says Page 25...
1
1456
by: lawitt | last post by:
I have a MakeTable query whose resulting table i'm using in a crosstab query. The fields in the crosstab are constantly changing (weekly), so my ultimate goal has been to somehow create a dynamic report that takes into consideration the ever changing fields. that's been VERY tricky. I've managed to get the MakeTable query to only display my 'top 10' fields and i've created a 'static' report that references a calculated field (Number) in that...
7
2785
by: Reedsp | last post by:
I have a report that displays the page numbering incorrectly. Example page 1 of 3 but only 2 pages are displayed when previewing or printing the report. Here is the details: Page footer - text box with control source as: ="Page" & & " of " & There is a group header with the following code in the OnFormat property: linecnt = 0 Group Footer OnFormat property: If linecnt = 1 Then DoCmd.CancelEvent End If Not sure if...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10077
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9152
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.