Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flattening data in crystal report 1

Status
Not open for further replies.

rbarekere

Technical User
Mar 2, 2009
29
US
I have a table which has 4 columns Customer, Partner type, Agent no and employee #.

cust type agent emp
1001 A 01
1001 B a1
1002 A 02
1002 B a2

I have grouped the data based on customer and I would like to flatten the data with 2 columns Agent Emp and I want to have only one row of data.

I tried to create formula for Agent
if {type}="A" then {Agent}
for Emp
if if {type}="B" then {Emp}.

But it didnt work, How I can take a notnull value from a detail and flatten it in groups?

 
Just insert a maximum on each field at the group customer group level, and then suppress the detail section. Drag the groupname into the group footer.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top