Solved

Printing a form

Posted on 2002-03-18
3
180 Views
Last Modified: 2010-05-18
I have an MDI child form that can be wider that the available area on the MDI parent form.

I need to print the MDI child form, but by using PrintForm, only the visible area is printed.

Does anyone know if I can print the MDI child form contents without having to scroll the MDI parent form, or how I can automatically scroll the MDI parent form to print the MDI child form using multiple PrintForm commands?
0
Comment
Question by:hairybarbarian
3 Comments
 
LVL 18

Accepted Solution

by:
mdougan earned 50 total points
ID: 6878110
Are you issuing the PrintForm from a reference to the MDIParent or from the MDI Child?

If you say MDIForm1.PrintForm then you will only get the visible contents of the MDI parent form (assuming that it's name is MDIForm1)

But, if you say frmChild.Printform, then you should get then entire child form to print whether it is completely visible or not.  If not, then try setting the child form's AutoRedraw property to True.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7634139
Hi hairybarbarian,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept mdougan's comment(s) as an answer.

hairybarbarian, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:kodiakbear
ID: 7665968
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now