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  

varying quantity of address labels



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2007, 07:55 PM posted to microsoft.public.access.reports
Garry
external usenet poster
 
Posts: 62
Default varying quantity of address labels

Hi all

I have been supplied with a database that has 200 records:

Name, Number of copies (magazines).



Mr Smith, 80

Mrs Jones, 120

Miss Brown, 55 etc



I need to print address labels to attach to each magazine



Therefore Mr Smith = 80 labels, Mrs Jones = 120 labels



How is this best achieved



All the best Garry




  #2  
Old May 11th, 2007, 01:47 AM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default varying quantity of address labels

Garry wrote:
I have been supplied with a database that has 200 records:

Name, Number of copies (magazines).

Mr Smith, 80
Mrs Jones, 120
Miss Brown, 55 etc

I need to print address labels to attach to each magazine

Therefore Mr Smith = 80 labels, Mrs Jones = 120 labels



Create a table (named Numbers) with one field (named Num)
and populated with record values 1,2,3,... up to more labels
that you will ever need.

Then create a query like:

SELECT name, Num
FROM yourtable, Numbers
WHERE Num = [Number of copies]

and base your label report on the query.

--
Marsh
MVP [MS Access]
  #3  
Old May 11th, 2007, 02:10 PM posted to microsoft.public.access.reports
Garry
external usenet poster
 
Posts: 62
Default varying quantity of address labels

How could it be so simple !

You have saved me hours of work

Many thanks, Garry


"Marshall Barton" wrote in message
...
Garry wrote:
I have been supplied with a database that has 200 records:

Name, Number of copies (magazines).

Mr Smith, 80
Mrs Jones, 120
Miss Brown, 55 etc

I need to print address labels to attach to each magazine

Therefore Mr Smith = 80 labels, Mrs Jones = 120 labels



Create a table (named Numbers) with one field (named Num)
and populated with record values 1,2,3,... up to more labels
that you will ever need.

Then create a query like:

SELECT name, Num
FROM yourtable, Numbers
WHERE Num = [Number of copies]

and base your label report on the query.

--
Marsh
MVP [MS Access]



 




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