• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Crystal Report & VB6 Printing problem

when i want to print a receipt from vb6 and using the crystal report template which created before. however, since the detail on the report should be fix in one page doesn't matter how much item are. Since the detail is dynamic everytime, how can i do it with vb6 or setting on the crystal reports
0
lungwa
Asked:
lungwa
  • 2
1 Solution
 
mlmccCommented:
I don't understand your problem.  Are you trying to print a single page report?  Do you have the potential for the report to span multiple pages?

mlmcc
0
 
lungwaAuthor Commented:
yes single page receipt, but some time the receipt will contain alot of items within one page and it may excess the page height, some time is very little
0
 
mlmccCommented:
When there are too many item, what do you want done?

You can limit the number of items on a page using the NEW PAGE AFTER option on the detail section.
Open the report
Right click in the left maring of the designer in the DETAIL section
Select the formula button next NEW PAGE AFER
Formula

recordno MOD 15 = 0

Change 15 to the number of items you want on a page.

You could also suppress the detail section in the samemanner with

recordno > 15

mlmcc
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now