问题
I am importing data from a single data set in my crystal reports. I have just a single column table in my report. I want to arrange some data vertically say 10 rows of the table (In two vertical lines) and some data horizontally say next 10 rows of the same table (In two horizontal lines). I have managed to do the first part that is arranged the vertical lines side by side (By using the option Format With Multiple Columns in the section expert. I am facing difficulty in arranging horizontal lines on the same page (side by side of vertical lines). Any hints how can I achieve this. Any help will be appreciated.
Note: I have tried the subreports method, but was unsuccessful. The subreports shows one row per page for horizontal data and vertical data also limits then one row per page when I use subreports.
Image also attached for reference
回答1:
Make sure to choose the correct printing direction. Tick `Across then Down':
回答2:
- Go to Section Expert.
- Select the section you want to make it multiple column under "Sections" (usually it's 'Details')
- Make sure you have "Format with Multiple Columns" is checked under Common Tab
- Now you should see Layout Tab on the top right corner, select that.
- Set Width to 2" or whatever you want under Detail Size.
- Then under "Printing Direction" set "Across then Down" option.
- Click OK and you are all set :)
来源:https://stackoverflow.com/questions/45768812/vertical-horizontal-data-arrangement-in-same-page-of-crystal-reports