Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 21st, 2006, 07:47 PM
Registered User
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default show data in a tree view format in crystal report

Hello everybody,
I have data of this kind

state deptno empno sal
CA 10 1021 500
CA 10 1022 100
CA 20 1025 400
TX 30 1048 700
TX 30 1935 800
TX 50 1028 500
OK 70 1047 400

I want to show the above data in a tree structure(like the structure in the preview tree of the Crystal Report itself).

       1021 500
       1022 100

When i click on usa it should expand to show all the states and when i select a state it should show all the deptnos and when i slect the deptno it should show all the employees in that department and their details.

Can somebody please help me with this?

Old February 22nd, 2006, 12:33 PM
Authorized User
Join Date: Dec 2004
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts

insert group by Country, then group by State and then group by dept no.
place empno sal in detail section
when placing the fields allign then in the way u want.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying data in a tree view from combo boxes Gini Visual Studio 2008 0 June 25th, 2008 01:52 AM
show data record in grid view - sqlserver2005 vinodonline2000 ASP.NET 2.0 Basics 5 August 10th, 2007 05:24 AM
Show Tree Format data rajasarkar ASP.NET 1.0 and 1.1 Professional 0 July 5th, 2006 02:59 AM
how to show user interface data in crystal report sanjay_jadam Crystal Reports 1 May 26th, 2005 02:25 AM
Show data in tree-view structure kiennt Crystal Reports 1 March 1st, 2004 06:21 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.