473,486 Members | 2,353 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Printing Subform

Hi:

I have a form, which contains a sub form (Employee main record and payment record). It all
shows up fine in a screen view, but when I come to print it I find that I cannot get the
sub form to print on the same page as the form. I have sized the whole thing, and in
theory it should fit into a single 8 1/2 x 11 page, but it just wont perform. I have the
sub sheet components set to "can shrink". Are there any special things that one should be
aware of when printing a form with a sub form, or do I just need to hack around and see
what will work?

Thanks and regards

John Baker
Nov 12 '05 #1
4 8426
In general, printing from forms is "iffy".

For better results, create a report for printing.
Since you can save a form as a report, this isn't hard to do.

HTH
- Turtle

"John Baker" <Ba******@Verizon.net> wrote in message
news:le********************************@4ax.com...
Hi:

I have a form, which contains a sub form (Employee main record and payment record). It all shows up fine in a screen view, but when I come to print it I find that I cannot get the sub form to print on the same page as the form. I have sized the whole thing, and in theory it should fit into a single 8 1/2 x 11 page, but it just wont perform. I have the sub sheet components set to "can shrink". Are there any special things that one should be aware of when printing a form with a sub form, or do I just need to hack around and see what will work?

Thanks and regards

John Baker

Nov 12 '05 #2
Thanks:

I had no idea you could save a form as a report. How do you do it, and what are the
implications when the contents of the form are based on a query?

Thanks for the tip however.

Regards

John Baker

"MacDermott" <ma********@nospam.com> wrote:
In general, printing from forms is "iffy".

For better results, create a report for printing.
Since you can save a form as a report, this isn't hard to do.

HTH
- Turtle

"John Baker" <Ba******@Verizon.net> wrote in message
news:le********************************@4ax.com.. .
Hi:

I have a form, which contains a sub form (Employee main record and payment

record). It all
shows up fine in a screen view, but when I come to print it I find that I

cannot get the
sub form to print on the same page as the form. I have sized the whole

thing, and in
theory it should fit into a single 8 1/2 x 11 page, but it just wont

perform. I have the
sub sheet components set to "can shrink". Are there any special things

that one should be
aware of when printing a form with a sub form, or do I just need to hack

around and see
what will work?

Thanks and regards

John Baker


Nov 12 '05 #3
Why not just create a report which is based on the same query as your sub form ?
David B
John Baker <Ba******@Verizon.net> wrote in message
news:9d********************************@4ax.com...
Thanks:

I had no idea you could save a form as a report. How do you do it, and what are the implications when the contents of the form are based on a query?

Thanks for the tip however.

Regards

John Baker

"MacDermott" <ma********@nospam.com> wrote:
In general, printing from forms is "iffy".

For better results, create a report for printing.
Since you can save a form as a report, this isn't hard to do.

HTH
- Turtle

"John Baker" <Ba******@Verizon.net> wrote in message
news:le********************************@4ax.com.. .
Hi:

I have a form, which contains a sub form (Employee main record and payment

record). It all
shows up fine in a screen view, but when I come to print it I find that I

cannot get the
sub form to print on the same page as the form. I have sized the whole

thing, and in
theory it should fit into a single 8 1/2 x 11 page, but it just wont

perform. I have the
sub sheet components set to "can shrink". Are there any special things

that one should be
aware of when printing a form with a sub form, or do I just need to hack

around and see
what will work?

Thanks and regards

John Baker


Nov 12 '05 #4
"John Baker" <Ba******@Verizon.net> wrote in message
news:9d********************************@4ax.com...
Thanks:

I had no idea you could save a form as a report. How do you do it, and what are the implications when the contents of the form are based on a query?

Thanks for the tip however.


Right-Click the form in the db window and choose "Save as Report".

The biggest potential "gotcha" is that when you save a form as a report and that
form contains a subform you end up with a report that still has a subform
embedded in it. You need to save the subform as a report as well and then
change what the new parent report is pointing at.

When I first did this I opened the new report to tweak the design and then
double-clicked the sub and started changing that without realizing that I was
actually changing my original subform by doing so.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #5

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

Similar topics

1
4722
by: Tim Graichen | last post by:
Hi! I have a subform (ShedTableSubForm) at the bottom of my MAIN form. I would like to do two things. 1) preview on screen a report (ShedReport) of the subform data the record currently...
6
2235
by: John | last post by:
Hi, I have simple database based on 3 tables. Relationship is 'one to many' between table 1 and 2, also between 2 and 3 table'one to many'. I have made form where I enter data in all 3 tables....
2
1356
by: Ellen Manning | last post by:
Using A2K. I've got a subreport that can have up to 3 lines of data. The user wants all lines underlined even if there's no data. Any idea how to do this? Below is an example of the desired...
1
1741
by: slothboy | last post by:
Hey guys, I'm having a little trouble printing subforms. I've attached the snippet of code that prints my form which contains various subforms. It prints bounded controls on the subform just...
3
1776
by: ChadDiesel | last post by:
I've been posting questions here the last week, but if you don't know my situation: I have a "Print Labels" button on the subform that sends the appropriate box information on the subform to a...
1
2924
by: Earl Anderson | last post by:
Using WinXP & AccessXP, I'd like to automatically have the records that I've just printed in a report automatically updated to have the 'print date & time' immediately inserted into a 'Date/Time'...
4
6136
by: paquer | last post by:
Hello' How do I get the subform to print along with the main form? I want my user's to be able to go in the field with a printout of the info they need to populate in the database. So when they...
1
6926
by: paquer | last post by:
I have forms that are used in the office as well as in the field. I want user's to be able to print out an exact copy of the form for "in the field" data entry. (Yes we are still stuck in the 90's....
3
2479
by: Dave | last post by:
Hello! What's the best way to make a button print *just* the selected (displayed) record of a subform, when that subform is currently part of a larger form? Thanks!
0
7105
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
6967
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...
0
7132
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,...
0
7180
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
5439
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,...
0
3076
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
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
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 ...
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.