473,785 Members | 3,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Divided Spacing on Reports:Acc97

Thank you in advance for any and all assistance. I'm trying to create a report
that will work similar to the label wizard in Access. I have a premade form I'm
attempting to fill with data from the db. I can manually make the information
fit, by making the report the full 8.5" x 11", however, when I attempt to size
the report so that an individual record prints in each one, the sizing is all
off. Is there a secret for dividing up the report page with .50 footer and .50
header with .25 and .251 repspectively right and left margins to get say
"three" (3) even records?

Also, does each record require the .50 header and footer to computated for
spacing also? If that's the case, you loose 3" in an 11" form????

I have tried using the label wizard customized and can't get it to work, PLEASE
help with this. The form is PrePRINTED and I'm attempting to fill in fields on
this preprinted form. They are also perferated every 3.75", which when I try
and make the label that big, I loose the third section of the form.

Michael
Nov 13 '05 #1
2 1507
You want 3 labels on a Letter-sized page, with the text placed exactly the
same on each. But you must allow for half-inch margin top and bottom of the
page. The solution is to create a group footer that prints every record, and
suppress it on the 3rd label.

1. Open (or create) the report in design view.
Choose Page Setup from the File menu, and set the top and bottom margins to
0.5 inch.

2. Set the Height of the Detail section to 3 inch.

3. Add a text box to the Detail section, and give it these properties:
Control Source =1
Running Sum Over All
Name txtCount
Format General Number
Visible No

4. Open the Sorting And Grouping dialog (View menu).
Select your primary key field.
In the lower pane of the dialog, set Group Footer to Yes.
Set the Height of this section to 0.5 inch.

5. To suppress this group footer for the 3rd label on the page, set the On
Format property of this group footer section to:
Event Procedure
Click the Build button (...) beside this.
Access opens the code window.
Add this line between the "Private Sub ..." and "End Sub" lines:

Private Sub GroupFooter0_Fo rmat(Cancel As Integer, FormatCount As
Integer)
Me.GroupFooter0 .Visible = (((Me.txtCount - 1) Mod 3) <> 2)
End Sub

In the end, your 11" tall page looks like this:

,------------------------------------
| 0.5" Page Header
|---------------------------
|
| 3.0" Label 1
|
|-----------------
| 0.5" Group Footer (Spacer)
|--------------------------
|
| 3.0" Label 2
|
|-----------------
| 0.5" Group Footer (Spacer)
|---------------------------
|
| 3.0" Label 3
|
|-------------------------- (suppressed group footer is zero height here)
| 0.5" Page Footer
`--------------------------------------

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

"Lumpierbritche s" <lu************ *@aol.com> wrote in message
news:20******** *************** ****@mb-m07.aol.com...
Thank you in advance for any and all assistance. I'm trying to create a
report
that will work similar to the label wizard in Access. I have a premade
form I'm
attempting to fill with data from the db. I can manually make the
information
fit, by making the report the full 8.5" x 11", however, when I attempt to
size
the report so that an individual record prints in each one, the sizing is
all
off. Is there a secret for dividing up the report page with .50 footer and
.50
header with .25 and .251 repspectively right and left margins to get say
"three" (3) even records?

Also, does each record require the .50 header and footer to computated for
spacing also? If that's the case, you loose 3" in an 11" form????

I have tried using the label wizard customized and can't get it to work,
PLEASE
help with this. The form is PrePRINTED and I'm attempting to fill in
fields on
this preprinted form. They are also perferated every 3.75", which when I
try
and make the label that big, I loose the third section of the form.

Michael

Nov 13 '05 #2
Sorry: to get exactly the same layout, the Group Footer (spacer) section
needs to be 1 inch high. That leaves 2.6666 inch high for each label.

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

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:41******** *************** @per-qv1-newsreader-01.iinet.net.au ...
You want 3 labels on a Letter-sized page, with the text placed exactly the
same on each. But you must allow for half-inch margin top and bottom of
the page. The solution is to create a group footer that prints every
record, and suppress it on the 3rd label.

1. Open (or create) the report in design view.
Choose Page Setup from the File menu, and set the top and bottom margins
to 0.5 inch.

2. Set the Height of the Detail section to 3 inch.

3. Add a text box to the Detail section, and give it these properties:
Control Source =1
Running Sum Over All
Name txtCount
Format General Number
Visible No

4. Open the Sorting And Grouping dialog (View menu).
Select your primary key field.
In the lower pane of the dialog, set Group Footer to Yes.
Set the Height of this section to 0.5 inch.

5. To suppress this group footer for the 3rd label on the page, set the On
Format property of this group footer section to:
Event Procedure
Click the Build button (...) beside this.
Access opens the code window.
Add this line between the "Private Sub ..." and "End Sub" lines:

Private Sub GroupFooter0_Fo rmat(Cancel As Integer, FormatCount As
Integer)
Me.GroupFooter0 .Visible = (((Me.txtCount - 1) Mod 3) <> 2)
End Sub

In the end, your 11" tall page looks like this:

,------------------------------------
| 0.5" Page Header
|---------------------------
|
| 3.0" Label 1
|
|-----------------
| 0.5" Group Footer (Spacer)
|--------------------------
|
| 3.0" Label 2
|
|-----------------
| 0.5" Group Footer (Spacer)
|---------------------------
|
| 3.0" Label 3
|
|-------------------------- (suppressed group footer is zero height here)
| 0.5" Page Footer
`--------------------------------------
"Lumpierbritche s" <lu************ *@aol.com> wrote in message
news:20******** *************** ****@mb-m07.aol.com...
Thank you in advance for any and all assistance. I'm trying to create a
report
that will work similar to the label wizard in Access. I have a premade
form I'm
attempting to fill with data from the db. I can manually make the
information
fit, by making the report the full 8.5" x 11", however, when I attempt to
size
the report so that an individual record prints in each one, the sizing is
all
off. Is there a secret for dividing up the report page with .50 footer
and .50
header with .25 and .251 repspectively right and left margins to get say
"three" (3) even records?

Also, does each record require the .50 header and footer to computated
for
spacing also? If that's the case, you loose 3" in an 11" form????

I have tried using the label wizard customized and can't get it to work,
PLEASE
help with this. The form is PrePRINTED and I'm attempting to fill in
fields on
this preprinted form. They are also perferated every 3.75", which when I
try
and make the label that big, I loose the third section of the form.

Michael

Nov 13 '05 #3

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

Similar topics

6
6785
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used the SQL Profile to watch the T-SQL-Command which Access ( who creates the commands?) creates and noticed:
20
4646
by: John | last post by:
Hi, I've recently upgraded from Access 97 to Access 2002 & the performance basically stinks. I have tried the following items listed below but it has only had a minor impact: 1) Upgraded Jet 4 to Service Pack 7 2) Set Subdatasheet Name to from 3) Shortened the file name of the .MDB file 4) Made sure the Track name AutoCorrect info is off
1
3170
by: Aqua | last post by:
Hi All, I previous posted: I have an access 97 database that I'm still using by running it with the runtime version created using ODE Tools. I have had to upgrade my machines to Windows XP and since then when I quit the database in the runtime version it does not quit the application but leaves a"ghost" session of access open that are unusable and that you cannot end except by force quitting it in the task manager. How do I fix this.
7
2670
by: Kathryn Townsend | last post by:
We have a customer using our Acc97 Runtime application on a Win 98 machine that was recently upgraded to WinXP Home Edition Service Pack 1. Shes states RAM is 228, CPU Pentium II 398 MHz , Hard drive 7.85 GB with 795 MB free space. Retail Access is NOT installed, Word and Excel 9 ARE installed. When first starting our app she got the message "Microsoft Acess can't start because there is no license for it on this machine." She...
0
2415
by: Sabine Oebbecke | last post by:
Hi Experts! I have several forms and reports where controls get their values with 'Forms!MainForm!Control' or 'Forms!MainForm!Subform!Control' resp 'Forms!MainForm!Subform.Form!Control' which works without any problem in Acc97, 2000 and 2002, but now in Access 2003 there seem to be a problem with this. A user is working with my app, and he uses an Access 2002 MDE in an Access 2003 environment.
20
1979
by: Stephan Golux | last post by:
It seems I have run afoul of an unfixable and acknowledged bug in my beloved access 97 which has no workaround other than to upgrade. Current supported upgrades are 2002 and 2003. 2003 appears to use lots 'o system resources, so I am wondering if I am best to go with the older (2002) version. Any opinions out here? In particular, which version more likely to make the conversion of the 97 databases the least painful? Both upgrades
22
2896
by: Gerry Abbott | last post by:
Hi all, I having some confusing effects with recordsets in a recent project. I created several recordsets, each set with the same number of records, and related with an index value. I create a table and add the index value and a value/s from each recordset in turn, into a temporary table, which I used to create a report. I created this with DAO objects, and it worked fine. I use iteration, and the ..movenext command to get the next...
2
2353
by: planetthoughtful | last post by:
Hi All, I'm building some reports in Acc97 and using a custom calendar form to allow users to pick dates with which to report. I'm wondering if there's an easy way in code to be able to automatically work out the end-of-week date and end-of-month date from an arbitrary date value? To explain a little further. Let's say a user wants to view a weekly
6
2216
by: ARC | last post by:
Ok, so I'm looking at Access 2007, and I have imported my existing Access 97 application. I'm feeling a bit overwelmed in what to do here. In my original 97 application, I had one form: Mainmenu, which contained a header area / customer selection area, and a subform. I had a custom toolbar that had a button for each major screen. So clicking Customers would load the customers form into the subform of the mainmenu. By choosing a customer in...
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6737
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.