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

Thread: Crystal Report

  1. #1
    Join Date
    Oct 2001
    Posts
    16

    Crystal Report

    hi crystal gurus,

    i am working with a VB/Crystal Reports project. I want to print payslips using Crystal Reports. My problem is it is becoming difficult for me to contain some payslips in one page. Payslip has 3 sections a group header, Details and group section. All the 3 sections should be together. The "Keep Together" property is not working. how do i do this? how can i force a page break whenever i need while printing?

    please help. thanks in advance.

  2. #2
    Join Date
    Jan 2003
    Location
    Edmonton Alberta Canada
    Posts
    23
    I'm not sure how you can keep group header, detail, and group footer together. I've asked Crystal Decisions themselves for a way to do this, and they didn't have a solution for me.

    Make sure that none of your report fields have "Can Grow" turned on for them, and then just be precise in spacing out your sections.

    As for forcing a page break, you can use the "New Page After" and/or "New Page Before" in each section as necessary.

    I don't know of a way to control page breaks from within the code in VB.

    I hope this helps somewhat.
    Dave

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