[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

main form with subform and then subsubform - how to get a single record to fit onto a printed page

I have a form with a sub form (which then has another sub-form) but when I go to print preview the contents of one record, it seems to have sprawled across 14 pages :-( when it should be 2 at most. I have tried resizing the width of the forms from properties but that doesn't seem to help at all. :-( . Suggestions much appreciated.
0
agwalsh
Asked:
agwalsh
3 Solutions
 
mbizupCommented:
Have you created a seperate report for this?  Or are you print previeing the actual form?

(You have more control with a seperate report)
0
 
mbizupCommented:
It might  help to see an uploaded copy of your database.
0
 
Dale FyeCommented:
I am one of those purists that would argue that forms are designed for viewing and entering data.  Reports are for printing.

Yes, Access gives you the ability to print a form, but you don't have the level of control you have with a report.

Try this.   Open the form in design mode, then do a SaveAs.  This operation provides you with the opportunity to save your form as a report, so that all the general structure is already created.  Do that with your main form and each of the sub-forms.  Then change the SourceObjects on each of these new Reports that contains a "sub-report", to point at the reports rather than the forms.

Now you can play with the positioning of the subreports and the controls in those reports to get the layout you are looking for.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
agwalshAuthor Commented:
@fyed...hm will take your suggestiions on board. It also is a solution for another database I am working on..appreciate it. A
0
 
Jeffrey CoachmanCommented:
<No Points wanted>
...before the "It's ok to print a form" Experts chime in...
;-)

...Once you go down three levels, the report (or form) starts to becomes difficult to read/understand anyway.

With a report you can create a "Grouped" report, and save all the overhead associated with subreports/subforms (System resources, linking fields, managing events on multiple objects, ...etc)

Also with reports it is easier to get subtotals, nice page breaks, Grouping, ...etc)

Jeff
0
 
mbizupCommented:
<< ...before the "It's ok to print a form" Experts chime in... >>

I didn't know we had any.     :)
0
 
agwalshAuthor Commented:
@boaq2000 - will try out the suggestion but if I'm honest I really detest forms because I always seem to get stuck doing things like lining up textboxes (which then seem to mysteriously go out of alignment) and muttering nasty things to myself under my breath..
@mbizup: I just need to be able to print out this form (sorry - newly incarnated report) for each session so let me go off and try that out.
many thanks for the help from both of you :-)
A
0
 
agwalshAuthor Commented:
I ended up going a totally different route for this but really appreciate all the help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now