varying quantity of address labels

G

Garry

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
 
M

Marshall Barton

Garry said:
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.
 
G

Garry

How could it be so simple !

You have saved me hours of work

Many thanks, Garry


Marshall Barton said:
Garry said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top