Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am creating a crystal reports.i have a columns like "employee name", "designation", "wages". but i have more than 2 data on wages column.

columns and data

1. employee name-"abcd"
2. designation -"Manager"
3. wages-"canteen" and "Transport"

i need to print employee name, designation and 2 data of wages at the same time. i tried grouping but i am helpless. how to print this in crystal report.
Posted
Updated 8-Mar-14 19:29pm
v4
Comments
Sergey Alexandrovich Kryukov 9-Mar-14 0:48am    
Not a question.
—SA
Member 9494486 9-Mar-14 1:21am    
i am creating a crystal reports.i have a column like "employee name", "designation", "wages", but i have more than 2 data on wages.

----------
employee name-"abcd"

designation -"Manager"

wages-"canteen" and "Transport"

i need to print employee name, designation and 2 data of wages at the same time. i tried grouping but i am helpless. how to print this in crystal report.
Sergey Alexandrovich Kryukov 9-Mar-14 1:26am    
Instead of commenting, you would need to make it a question, using "Improve question".
—SA

1 solution

Do this processing at the code / database query level itself.
Concatenate and build the column result for e.g.
select ('Canteen' + col1 + 'Transport' + col2) Wage, col3, col4 from table

This will be faster than concatenating on the report.
The other option would be to add labels within the column in the report.
 
Share this answer
 
Comments
Member 9494486 9-Mar-14 12:54pm    
thanks a lot

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