Link to home
Start Free TrialLog in
Avatar of cynthia4601
cynthia4601Flag for United States of America

asked on

Multiple Coluns in Crystal Reports 12

Goal: I have a report to print packing tickets.  The packing tickets print a different header for each account and then details for the product lines.  There are several groups involved (by route, account, product location).  I want the packing tickets to print 2 to a page -- across.  
I have set up a main (holding) report that is landscape.  The detail section holds the packing ticket sub report.  The holding report is formatted with multiple columns - layout of 5.4" width (the height is disabled); down and across is specified.  
As mentioned, the sub report has many groups (don't know if that is important to mention).  I have tested running the subreport as multiple colums and not multiple colums.  No matter what I do, the report prints across and then down - not down and across.

I would even consider having the report print 2 packing tickets to a portrait page (one on top of the other) rather than 2 across... anything to get 2 to a page and in packing ticket # sequence.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike McCracken
Mike McCracken

I am not sure of the issue.  Since you have only 2 per page it will print the left one the the right one then move to the next page.

Down then Across or Across then Down only refers to a single page not the full report.

mlmcc
Why not simply stretch the subreport across the length of the main report and add the dat afields twice on to the subreport so that it displays on the left and the right

HTH
Avatar of cynthia4601

ASKER

@mlmcc  -- "Since you have only 2 per page it will print the left one the the right one then move to the next page.  Down then Across or Across then Down only refers to a single page not the full report."

Thanks for the comment; however, the down across is definitely needed.  If we print 100 pages with 2 across, I want to be able to slice the form in half, put the right half of the pages uder the left half and then all packing tickets are in order.  If I print across, then we have a sorting nightmare on our hands, since the packing tickets need to be in account sequence for each route.   Hope this makes sense.
@peter57r:  "It is impossible to retain any paging with a subeport "

Yep -- This is what I was afraid of!  Your answer makes sense.  I am going to have to figure out another creative way of getting this accomplished.  If you can thnk of anything, please let me know.  Thanks again.
@GJParker: "Why not simply stretch the subreport across the length of the main report and add the dat afields twice on to the subreport so that it displays on the left and the right"

I tried something similar to no avail.  I need for the next record to print -- not the same info twice. Thanks for the suggestion.  I'm all ears if you have another one for me to try!

In that case you could change the report to portrait and set it to have only 2 groups per page

have a group counter in the group footer section on the main report (possibly a running total ) and use a conditional formula on  New Page After e..g. {#Counter Mod 2 = 0

@GJParker: "In that case you could change the report to portrait and set it to have only 2 groups per page"

I think you might be onto something!  I am going to try it out later tonight.  Thanks so much for this suggestion!
I a contacted a SQL consultant who believes a stored procedure can be run to get the data in the proper format so that Crystal can create the report the way I want.  In other words, my original crystal report format would still be used; however, the data would be "sequenced" in a way that it would know how many records are available to print on the left side so that an "end of page" can be created.  Peter57r's comments do seem correct -- the subreport method I used will not work.

I gave the consultant a 4 hour time limit to see if he could get this working.  I will hopefully know more tomorrow.  A lot of work involved to save paper!!!!!  I appreciate everyone's comments!
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.