Results 1 to 5 of 5
  1. #1
    tstoneami is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    71

    How to create a variable lenght multi page report?

    Hey folks;

    Let me see if I can explain this clearly. I need to make a report from a single record that will contain a number of individual text fields of varying lengths. If they are all filled out, they could span four pages.

    I don't think I can use linked sub-reports because if I fill out a sub-report page with the fields, its possible only a small number of them will show on that page resulting in a lot of blank space. Same potenitally with the next page.

    What I really need is a way to represent them all on the report and use the can grow / can shrink to display only those fields that are filled out, and have the report be of a dynamic length, resulting in a dynamic number of pages.

    The only way I can think of doing this is to keep some sort of line counter and force a new page. Any ideas? I'm fresh out right now.

    Thank you,

    Troy Stone

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You can size the textboxes to 0 height then allow to grow/shrink. The textboxes will still occupy space but it will be minimized.

    An alternative might be to concatenate the fields into one textbox.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tstoneami is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    71
    Well, I have done that already and that works fine. The problem is that on my report there is just a little bit of room left in the details section - so I need a way to continue the printing of the details section on the next page. I don't know how many pages will result, because each time the report is run, new data will have been entered to fields as well as new fields completed.

    Does that make sense? Towards the bottom of my page I have a minimal amount of room left to represent these fields, even at 0 height on the designer. Should I put them all on a subpreport (like at 0 height) and reference that in my details? Will it result in new pages as neccesary? I guess I will try that, but would rather not attempt something fruitless...

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Not sure because I can't really visualize the issue you are describing. If you want to provide db for analysis, follow instructions at bottom of my post. Identify objects involved.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    tstoneami is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    71

    Status

    Hi All;

    Well, I have this pretty much working - although there are more requirements to come, so this is pretty much still open. I made a sub report and inserted that reference into my main report. The fields shrink/grow, and their section labels are conditional based on values in the fields. It seems to print as many pages as are needed. I thought I would pass this along at this point. I am not going to mark this as solved until I am sure there are no glitches, and that way any more discovery might be useful..


    Thanks.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-27-2013, 05:10 PM
  2. Replies: 1
    Last Post: 03-05-2013, 06:38 PM
  3. Create link to a report page
    By GraeagleBill in forum Reports
    Replies: 4
    Last Post: 09-03-2012, 04:15 PM
  4. Replies: 5
    Last Post: 06-01-2012, 03:59 PM
  5. Replies: 4
    Last Post: 06-30-2011, 08:39 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums