Results 1 to 4 of 4
  1. #1
    jgelpi16 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544

    Question Sub-report size


    I have a sub-report that lists accounts for a customer. I need the report all to fit on one page so if the sub-report has more than 4 records in it I need to display "see attachment" and print off an attachment page. Otherwise I just need to print the main report. Any ideas/suggestions/reference links on this? Thank you!!

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    not sure. have you looked into using line breaks though? that's a possibility. you can obviously check the recordcount of the subreport, but offering some sort of an attachment might be more difficult, depending on what you're thinking about doing.

  3. #3
    jgelpi16 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    Well what I could settle with doing is the following...

    If the record exceeds "X" number of records display "See Attachment". When the user prints off the reports they will see the "See Attachment" and then go print the attachment. As I said I'm not very good with reports. Where could I access the "record count" feature?

  4. #4
    jgelpi16 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    Ok, I've figured out the record count. My next problem is getting to limit the records, and if the records exceed that, "See Attachment". I have a text box in the footer that counts the number of records on the sub-form. I tried putting a criteria in the SQL statement

    Code:
    IIf([Reports]![SrptPeriods]![txtCount]>10,[BegPd]="See Attachment",[BegPd])
    Unfortunately nothing happens...

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

Similar Threads

  1. Max Report Size
    By Robert W in forum Reports
    Replies: 7
    Last Post: 09-05-2010, 12:13 PM
  2. DB Size
    By kb1 in forum Import/Export Data
    Replies: 2
    Last Post: 08-26-2010, 10:17 AM
  3. Replies: 0
    Last Post: 03-06-2010, 01:11 PM
  4. Replies: 1
    Last Post: 01-14-2010, 04:10 PM
  5. Database Size
    By JohnTyke in forum Access
    Replies: 4
    Last Post: 10-08-2009, 04:07 AM

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