?
Solved

Recursive Table in Crystal Report 8.5

Posted on 2006-06-13
4
Medium Priority
?
469 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 750 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 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