CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    71

    Printing Data Report


    I have few question about the data report in VB.

    1. I found that Data Report in VB6.0 only can let the user preview the first page. How can i preview all the pages before i print it out?


    2. How can i just set the data report to print only one record for each page. I means if there is 3 record, then it will print out three pages separately for each.


    Perhaps can get you people reply soon...


  2. #2
    Join Date
    Apr 2001
    Posts
    23

    Re: Printing Data Report

    Open your DataReport in the VBIDE. Click on a blank area of Detail (Section 1). Go to the Properties Window and select ForcePageBreak,
    choose 1-rptPageBreakBefore.
    This will accomplish both of your goals, when you
    run the report you will see the "Pages Selector"
    bar on the bottom left hand edge of the report,
    selecting the right arrow will preview every page of the report showing only one record/line each time, of course the drawback to this method is that you will have one Printed Page for each record.


  3. #3
    johnpc7 Guest

    Re: Printing Data Report

    Open your DataReport in the VBIDE. Click on a blank area of Detail (Section 1). Go to the Properties Window and select ForcePageBreak,
    choose 1-rptPageBreakBefore.
    This will accomplish both of your goals, when you
    run the report you will see the "Pages Selector"
    bar on the bottom left hand edge of the report,
    selecting the right arrow will preview every page of the report showing only one record/line each time, of course the drawback to this method is that you will have one Printed Page for each record.


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