473,385 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How do I Create an Index of a Report in Access

I have a Report that creates a Catalogue of Products we sell under various
Headings eg:

Books, Recordings, Health Food, Diet Foods, etc

There are 82 Headings and a total of 6000+ products which makes a big
Catalogue.
A Printed version of the Catalogue is done every 2 Months and we manually
create an Index which takes HOURS, the problem is the Catalogue page numbers
change depending on New or Deleted product ranges.

Can anyone help me to create an Index using Access so that the page numbers
go against the Headings.

Thanks in advance.

Ross


Nov 13 '05 #1
7 5569
On Wed, 17 Nov 2004 12:00:29 +0800, Ross Hamilton wrote:
I have a Report that creates a Catalogue of Products we sell under various
Headings eg:

Books, Recordings, Health Food, Diet Foods, etc

There are 82 Headings and a total of 6000+ products which makes a big
Catalogue.
A Printed version of the Catalogue is done every 2 Months and we manually
create an Index which takes HOURS, the problem is the Catalogue page numbers
change depending on New or Deleted product ranges.

Can anyone help me to create an Index using Access so that the page numbers
go against the Headings.

Thanks in advance.

Ross


What version of Access are you using?
Here is a method for Access 2000.
See Microsoft KnowledgeBase article:
210269 'ACC2000: How to Create a Table of Contents or Index for a
Report'

For Access 97 and older:
131588 'ACC: How to Create a Table of Contents or Index for a Report'

You must actually run the report (in preview, or by actually printing
it).
Then run a separate report, using the TOC table made by the first
report, to print out just the Table of Contents.

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2
See:
How to Create a Table of Contents or Index for a Report
at:
http://support.microsoft.com/default...b;en-us;210269

--
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.

"Ross Hamilton" <oz****@hotmail.com> wrote in message
news:41********@news.highway1.com.au...
I have a Report that creates a Catalogue of Products we sell under various
Headings eg:

Books, Recordings, Health Food, Diet Foods, etc

There are 82 Headings and a total of 6000+ products which makes a big
Catalogue.
A Printed version of the Catalogue is done every 2 Months and we manually
create an Index which takes HOURS, the problem is the Catalogue page
numbers
change depending on New or Deleted product ranges.

Can anyone help me to create an Index using Access so that the page
numbers
go against the Headings.

Nov 13 '05 #3
Sorry, I am using Access97, and the link is for 2000 do you know of a way in
97??

Ross
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
See:
How to Create a Table of Contents or Index for a Report
at:
http://support.microsoft.com/default...b;en-us;210269

--
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.

"Ross Hamilton" <oz****@hotmail.com> wrote in message
news:41********@news.highway1.com.au...
I have a Report that creates a Catalogue of Products we sell under various Headings eg:

Books, Recordings, Health Food, Diet Foods, etc

There are 82 Headings and a total of 6000+ products which makes a big
Catalogue.
A Printed version of the Catalogue is done every 2 Months and we manually create an Index which takes HOURS, the problem is the Catalogue page
numbers
change depending on New or Deleted product ranges.

Can anyone help me to create an Index using Access so that the page
numbers
go against the Headings.


Nov 13 '05 #4
Ross, I think you will find that the same approach works in A97, but there
is an earlier version of the same article.

To find it:
Go to support.microsoft.com
Choose the knoweldgebase.
Ask for the advanced search.
Specify the product as Access.
Run a search for Table of Contents" as the "exact phrase".

--
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.

"Ross Hamilton" <oz****@hotmail.com> wrote in message
news:41******@news.highway1.com.au...
Sorry, I am using Access97, and the link is for 2000 do you know of a way
in
97??

Ross
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
See:
How to Create a Table of Contents or Index for a Report
at:
http://support.microsoft.com/default...b;en-us;210269
"Ross Hamilton" <oz****@hotmail.com> wrote in message
news:41********@news.highway1.com.au...
>I have a Report that creates a Catalogue of Products we sell under various > Headings eg:
>
> Books, Recordings, Health Food, Diet Foods, etc
>
> There are 82 Headings and a total of 6000+ products which makes a big
> Catalogue.
> A Printed version of the Catalogue is done every 2 Months and we manually > create an Index which takes HOURS, the problem is the Catalogue page
> numbers
> change depending on New or Deleted product ranges.
>
> Can anyone help me to create an Index using Access so that the page
> numbers
> go against the Headings.

Nov 13 '05 #5
Found it thanks very much.

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
Ross, I think you will find that the same approach works in A97, but there
is an earlier version of the same article.

To find it:
Go to support.microsoft.com
Choose the knoweldgebase.
Ask for the advanced search.
Specify the product as Access.
Run a search for Table of Contents" as the "exact phrase".

--
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.

"Ross Hamilton" <oz****@hotmail.com> wrote in message
news:41******@news.highway1.com.au...
Sorry, I am using Access97, and the link is for 2000 do you know of a way in
97??

Ross
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
See:
How to Create a Table of Contents or Index for a Report
at:
http://support.microsoft.com/default...b;en-us;210269
"Ross Hamilton" <oz****@hotmail.com> wrote in message
news:41********@news.highway1.com.au...
>I have a Report that creates a Catalogue of Products we sell under

various
> Headings eg:
>
> Books, Recordings, Health Food, Diet Foods, etc
>
> There are 82 Headings and a total of 6000+ products which makes a big
> Catalogue.
> A Printed version of the Catalogue is done every 2 Months and we

manually
> create an Index which takes HOURS, the problem is the Catalogue page
> numbers
> change depending on New or Deleted product ranges.
>
> Can anyone help me to create an Index using Access so that the page
> numbers
> go against the Headings.


Nov 13 '05 #6
Fred, Thanks for your prompt response I found the Access97 article and now
all I have to do is make it work.

"fredg" <fg******@example.invalid> wrote in message
news:1n*****************************@40tude.net...
On Wed, 17 Nov 2004 12:00:29 +0800, Ross Hamilton wrote:
I have a Report that creates a Catalogue of Products we sell under various Headings eg:

Books, Recordings, Health Food, Diet Foods, etc

There are 82 Headings and a total of 6000+ products which makes a big
Catalogue.
A Printed version of the Catalogue is done every 2 Months and we manually create an Index which takes HOURS, the problem is the Catalogue page numbers change depending on New or Deleted product ranges.

Can anyone help me to create an Index using Access so that the page numbers go against the Headings.

Thanks in advance.

Ross


What version of Access are you using?
Here is a method for Access 2000.
See Microsoft KnowledgeBase article:
210269 'ACC2000: How to Create a Table of Contents or Index for a
Report'

For Access 97 and older:
131588 'ACC: How to Create a Table of Contents or Index for a Report'

You must actually run the report (in preview, or by actually printing
it).
Then run a separate report, using the TOC table made by the first
report, to print out just the Table of Contents.

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.

Nov 13 '05 #7
> Can anyone help me to create an Index using Access so that the page numbers
go against the Headings.


Depends. Is your report grouped by anything? For example, if it's a
product list, is it grouped by product family, so toothbrush and
toothpaste come together, and then popcorn comes somewhere else? If
not you can use the product itself, but that's going to be an awefully
long iindex.

Go into your report's design, then right-click on either detail or the
group heading, and say "add event" or something like that, should be
the option on the top. Another menu comes up, and you want the code
designer to write a VB function.

Declare a report-level string variable that's going to hold your
index. Like:

dim sIndex as string

Then in the sub you just added, when your data changes, you want
something like:

If InStr(sIndex, [CurrentDataValue]) = 0 Then
sIndex = sIndex + [CurrentDataValue]
sIndex = sIndex + String(" ", 30) + [Page] + vbCrLf
End If

( You can put that on one line. )

Now go back into your report's design, add a text-box to the report
footer, set it's CanGrow property to true, and then add more code to
when the report-footer gets formatted, and say:

Textbox391.Text = sIndex

Change 391 to refer to the one you just added to the report footer
section.
Nov 13 '05 #8

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

Similar topics

14
by: Sean C. | last post by:
Helpful folks, Most of my previous experience with DB2 was on s390 mainframe systems and the optimizer on this platform always seemed very predictable and consistent. Since moving to a WinNT/UDB...
1
by: Mike Wiseley | last post by:
I would like to be able to loop through all the report objects in the database and show the recordsource for each and every report, even if the report is not actively open. If I know in advance of...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
9
by: badboybrown | last post by:
Hello, Is it possible to step through the "Create MDE" process and see what is causing Access to crash? I tried, unsuccessfully, many times to create an MDE from my database. But, randomly, I...
3
by: Vayse | last post by:
I have a report which has several sub reports. Each sub report starts on its own page, and may be 2 or 3 pages long. I'd like to create an index on the first page of the main report. Something...
3
by: DKelley | last post by:
I'm receiving a "severe" error that I can't seem to trap and evaluate in SQL Server 2000 (and no, I can't switch to 2005, this is on our customers' machines). And I've not been able to find info on...
3
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
3
by: Niranjan | last post by:
I want create a report based on the crosstab query which normally returns about 50 - 60 columns. The columns have names of the counties and they keep changing for every session. Is there a way to...
8
by: Paul H | last post by:
I want to base a form on a crosstab query. The query shows statistics for a user defined period. The column headings will look something like this: ClientID Month01 Month02 Month03 etc.. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...

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.