CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 21

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    57

    Print only the subreport but not the main

    Hello,
    I have a PO form that prints items and PO information. At the end of the report I have a subreport attached that prints bar-code information. But within the main report. So, I get the main header and the po barcode information. How do I turn off the main report so that only the barcode information prints at the end of the main report. Not the main PO header and stuff.

    The subreport is located in the Report footer which is fine. This gives me the barcodes after the main po form is done printing.

    I can't suppress a section based on page number because the will affect the main as the PO information can expand several pages.

    Any information would be greatly appreciated.

    Thank you,
    Patrick.


    PS. I found this code below but it messes up the page number which then messes up the display: (This gets me close.)

    Right-click on the Footer Section, choose Format Section. click the button beside the Suppress (No Drill-Down) under Common Tab and place this code...

    if pagenumber=TotalPageCount then true
    else false


    From:
    http://www.dbforums.com/crystal-repo...last-page.html



    It is almost like when the report footer runs I need to turn off printing the Header, details.
    Last edited by PNorm; March 29th, 2011 at 01:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured