Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 21st, 2006, 07:47 PM
Registered User
Join Date: Feb 2006
Location: , , .
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?

Reply With Quote
  #2 (permalink)  
Old February 22nd, 2006, 12:33 PM
Authorized User
Join Date: Dec 2004
Location: flushing, ny, USA.
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.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:00 PM.

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