Solved

Recursive Table in Crystal Report 8.5

Posted on 2006-06-13
4
462 Views
Last Modified: 2009-12-16
Hi,
 
 Can anyone help to print a report from a recursive table from SQL Server.I have a recursive table in SQL Server.(Id primary key & ParentId foreign key).I want the report to accept any Id from table & it should print all the children of that Id group by.(like a tree view in VB).
0
Comment
Question by:rkvk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 250 total points
ID: 16900616
Hi rkvk,
Use the Heirarchical Grouping option in CR.
Insert a group based on the ID and then use Report>Heirachical Grouping to group by the Parent id.

Pete
0
 

Author Comment

by:rkvk
ID: 16949274
Hi,

    Sorry its not working.I am passing an Id fto the report , it should bring all its children as a group in the report
0
 
LVL 77

Expert Comment

by:peter57r
ID: 16949465
So if you use the report without the hierarchical grouping, do you see a list of the required records?

Pete
0
 

Author Comment

by:rkvk
ID: 17023405
Hi Pete,

    Its working with heirarichal grouping if I create a temporay table & use it in report.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question