Solved

Printing problem.  Not printing second page

Posted on 2004-10-11
6
279 Views
Last Modified: 2008-03-04
i have a form where a user clicks a button which opens up another form which is formatted for printing.  This form has a text box which can expand if needed, and a buttom .  However, when the text box is expanded to the point that it takes up the bottom of the page, the data underneath the box is not printed.  Basically, the second page will not print.  I am using docmd.printout in the command button, and i have tried acprintselection, acprintall and print pages 1-2, but i just cant get it to print the second page.
0
Comment
Question by:salival
  • 3
  • 2
6 Comments
 
LVL 41

Expert Comment

by:shanesuebsahakarn
ID: 12279168
Don't use a form for printing - use a report instead, and use a textbox whose CanGrow property is set to Yes.
0
 

Author Comment

by:salival
ID: 12279188
is there any way to solve this problem without using a report?  (the cangrow property is already set to yes)
0
 

Author Comment

by:salival
ID: 12279269
when i bring the data further down the page, to where it would need to print a second page regardless of the text box, it prints the second page.  but when they are all put on one page, the second page wont print when the box is expanded.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 500 total points
ID: 12279293
You will need code to move all of the other controls further down the form page by the amount that the textbox has expanded. I would highly recommend using a report instead. You can save your form as a report by right-clicking on it and clicking "Save As". I don't know how your form is laid out though.
0
 
LVL 39

Expert Comment

by:stevbe
ID: 12281001
CanGrow and Can Shrink have no effect on form controls ... go with shane on making a report.

Steve
0
 

Author Comment

by:salival
ID: 12281493
thanks guys.  guess ill give in and make it a report
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

776 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