Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Recursive Table in Crystal Report 8.5

Posted on 2006-06-13
4
Medium Priority
?
474 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

610 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