473,503 Members | 1,638 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report Header in Mailing Labels...

I know this is probably an easy question, but I could not find/figure it
out.

Basically, I am printing mailing labels with a "Sorting/Grouping" section
that groups the label types together. Also, I am using a "Report Header" to
show a count of how many total labels that are being printed.

Now, my problem is that without the "Report Header", the spacing is perfect.
But, when I add the Report Header, it gets shifted downwards and the last
row of labels gets printed on the next page (the last row of the first page
is blank).

I am trying to figure out how to use the first label as the Report Header
and let the next label print at the top of the page. Is there a way that I
can group the Report Header and make it only print on the first label so
that the labels will print at the top of the page?

I hope I explained it correctly. If not, do not hestitate to ask me to
explain something. I have not been able to figure this out, and have just
lived with it, but now I would like to fix it.

Thanks for any help,
Grim Reaper
Nov 13 '05 #1
3 2318
Grim Reaper wrote:
I know this is probably an easy question, but I could not find/figure it
out.

Basically, I am printing mailing labels with a "Sorting/Grouping" section
that groups the label types together. Also, I am using a "Report Header" to
show a count of how many total labels that are being printed.

Now, my problem is that without the "Report Header", the spacing is perfect.
But, when I add the Report Header, it gets shifted downwards and the last
row of labels gets printed on the next page (the last row of the first page
is blank).

I am trying to figure out how to use the first label as the Report Header
and let the next label print at the top of the page. Is there a way that I
can group the Report Header and make it only print on the first label so
that the labels will print at the top of the page?

I hope I explained it correctly. If not, do not hestitate to ask me to
explain something. I have not been able to figure this out, and have just
lived with it, but now I would like to fix it.

Thanks for any help,
Grim Reaper


Why not put that in the footer?

Nov 13 '05 #2
Create a new query that contains the fields you want in the first label and be
sure you have the same number of fields that are in your label. You also need a
pseudo field that corresponds to the field you are sorting and grouping on. The
pseudo field needs to be in the same order in your query as the sorting and
grouping field is in the recordsource of your report label. Also the value of
the pseudo field needs to come before the first value of the field you are
sorting and grouping on. Say the first value of your sorting and grouping on is
"Avalarez" (last name). You can make the pseudo field come before this with the
expression:
PseudoField:"AA" in your query.
After you have done all of the above, create a union query between the current
record source of your label report and the new query you created. Change the
record source of your label report to the union query and keep the same sorting
and grouping. In your union query, the data from the new query you created
(which is the data you want in the first label) will print on the first label
because you set
PseudoField:"AA" in your query.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Grim Reaper" <gr*****@nospam.com> wrote in message
news:f4********************@comcast.com...
I know this is probably an easy question, but I could not find/figure it
out.

Basically, I am printing mailing labels with a "Sorting/Grouping" section
that groups the label types together. Also, I am using a "Report Header" to
show a count of how many total labels that are being printed.

Now, my problem is that without the "Report Header", the spacing is perfect.
But, when I add the Report Header, it gets shifted downwards and the last
row of labels gets printed on the next page (the last row of the first page
is blank).

I am trying to figure out how to use the first label as the Report Header
and let the next label print at the top of the page. Is there a way that I
can group the Report Header and make it only print on the first label so
that the labels will print at the top of the page?

I hope I explained it correctly. If not, do not hestitate to ask me to
explain something. I have not been able to figure this out, and have just
lived with it, but now I would like to fix it.

Thanks for any help,
Grim Reaper

Nov 13 '05 #3
I am a little confused. I have not had much experience with Union Queries. I
have only used one off of one database to concatenate a few fields into one
field.

I have tried to do as you suggested, but I must have done something wrong.

Okay, the query that I am using right now to run the report off of is an
INNER JOIN on 2 tables. It is pulling 5 fields from one table (BRO_CODE1,
BROCODE2, BRO_CODE3, BRO_CODE4, and BRO_CODE5 - these are used to separate
the mailing labels into different categories). It is also pulling 7 fields
from another table (NAME, ADDR1, ADDR2, CITY, STATE, ZIP_CODE, and COUNTRY).
The query uses 12 different fields to create the mailing labels. They could
be using one or all of the Bro_Codes to separate the mailing labels. Also,
the 2 tables are joined on an ID number (INQ_ID).

In the Report Header of the mailing labels, I am only printing 3 separate
items: (1) A label that names the 'report', (2) a label that just says
TOTAL, and then (3) right beside the word total is a count of the INQ_ID
(this is so that I can get a count of ALL of the labels that are being
printed).

What I would like to do is to put the 3 separate items on the first label,
by itself, so that it will not throw off the spacing at the top of the
labels for the whole first sheet of labels.

(I could not even get the PseudoField to work correctly). I tried to create
a separate query that only included the count of the INQ_ID field (didn't
work). Also, I tried to use the same query and added all of the fields to
it. Then, do a Union Query on both of the queries (didn't work).

Please help, (thanks),
Grim Reaper

"PC Datasheet" <no****@nospam.spam> wrote in message
news:Uq******************@newsread3.news.atl.earth link.net...
Create a new query that contains the fields you want in the first label and be sure you have the same number of fields that are in your label. You also need a pseudo field that corresponds to the field you are sorting and grouping on. The pseudo field needs to be in the same order in your query as the sorting and grouping field is in the recordsource of your report label. Also the value of the pseudo field needs to come before the first value of the field you are
sorting and grouping on. Say the first value of your sorting and grouping on is "Avalarez" (last name). You can make the pseudo field come before this with the expression:
PseudoField:"AA" in your query.
After you have done all of the above, create a union query between the current record source of your label report and the new query you created. Change the record source of your label report to the union query and keep the same sorting and grouping. In your union query, the data from the new query you created
(which is the data you want in the first label) will print on the first label because you set
PseudoField:"AA" in your query.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Grim Reaper" <gr*****@nospam.com> wrote in message
news:f4********************@comcast.com...
I know this is probably an easy question, but I could not find/figure it
out.

Basically, I am printing mailing labels with a "Sorting/Grouping" section that groups the label types together. Also, I am using a "Report Header" to show a count of how many total labels that are being printed.

Now, my problem is that without the "Report Header", the spacing is perfect. But, when I add the Report Header, it gets shifted downwards and the last row of labels gets printed on the next page (the last row of the first page is blank).

I am trying to figure out how to use the first label as the Report Header and let the next label print at the top of the page. Is there a way that I can group the Report Header and make it only print on the first label so
that the labels will print at the top of the page?

I hope I explained it correctly. If not, do not hestitate to ask me to
explain something. I have not been able to figure this out, and have just lived with it, but now I would like to fix it.

Thanks for any help,
Grim Reaper


Nov 13 '05 #4

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

Similar topics

1
3384
by: Claude Alain | last post by:
Hello! We are a small non-profit organisation with about 400 members. We have created a database using Access97 which contains tombstone information on our members, including home adresses and...
1
17629
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
0
1403
by: Richard Sherratt | last post by:
I'm printing address labels in a membership database. The rules are that if both MailingAddress1 and MailingAddress2 are Null, then use home address, otherwise use mailing address. If address line...
6
1750
by: Melissa | last post by:
I created a report that has labels in the top three inches of the page header. There's also an unbound subform there. When I go to preview or print, the records from the detail section overlap...
2
2647
by: Melissa | last post by:
I have a grouped report that starts a new page at each group. All the field labels for the report are in the group header because there is a subreport in the top part of the report that needs to...
2
13481
by: Mikey | last post by:
Sample VB .NET source code to create mailing labels or customized letters using MS Word MailMerge This VB .NET source code will start MS Word and call methods and set properties in MS Word to...
2
9333
by: amith.srinivas | last post by:
Hi all, From a word macro in VBA, I am trying to create a report in access DB. The report is based on a query with a parameter. I am using Set rpt = Application.CreateReport rpt.RecordSource =...
0
1684
by: Arnold | last post by:
Hi Everyone; In a report, I've essentially recreated a paper sheet by adding various labels--name, date, problem, year, Progress Notes, etc.--and horizontal lines (people have traditionally...
7
2928
by: JH001A | last post by:
I have a report of selected employees printed using a label report four columns wide. The label report width is 1.5 inches. How can I merge a report header ahead of the labels? Thank you for any...
0
7202
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
7332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7462
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...
0
5578
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,...
1
5014
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...
0
4673
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...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
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 ...

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.