472,958 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 2282
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
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
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
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
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
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
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
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
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
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
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.