Click here to Skip to main content
15,937,779 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have crystal Sub Reports on Main Reports' PageHeader Section as below:

Sub-Report1:
-----------------------
Report Header    section
-----------------------
Purchase      sales

-----------------------
Details Section  section
-----------------------
purchase      sales

Display Result is:
Purchase               sales

PURCHASE ACCOUNT                                   
                       SALES ACCOUNT

The above result is not on same row It's Skip The same row of sales field I want it in Same Row as Below.
Purchase                 sales
PURCHASE ACCOUNT         SALES ACCOUNT

What is the problem with it?. Why the data not show in same rows and How to do it?.

Not I have a Running Total Field on Sales Amount And Purchase Amount.
Posted
Updated 13-Mar-14 22:24pm
v2

1 solution

Hi,

create two groups
1 for purchase
2 for sales

now right click purchase group section and set Underlay Following section property True

will look like below
-----------------------
Report Header section
-----------------------
Purchase         sales

-----------------------
purchase Group Section     ---> Right click Underlay Following section property True
  
-----------------------
purchase     -----------------> purchase amount field 

-----------------------
sales Group Section  
-----------------------
                  sales  -----> sales amount field 
no need to put anything in detail section just suppress it


another optional way is
just place summary of sales and purchase fields in report footer

Happy Coding!
:)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900