Solved

Recursive Table in Crystal Report 8.5

Posted on 2006-06-13
4
455 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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