×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Message board style!

Message board style!

Message board style!

(OP)
I need to display notes in CR9 in a message board style.  The notes in SQL are in two columns, one is ID and the other is parentID.  In the front end users can reply to each others notes, the notes are indented to show which one follows which? How do I display that format in Crystal?

RE: Message board style!

It sounds like you do a self join, so add the table in a second time and join from Parent ID to ID.

Group by Parent ID and the tree view should demonstrate a hierarchy of sorts for them to navigate.

-k

RE: Message board style!

(OP)
Tried that suggestion but is not giving the right result.  When the IDs are grouped you no longer see the Ids and the notes are not in the order desired.  The order is another issue.  It is not the time of the post.  Any suggestions are welcome.  Thanks

RE: Message board style!

Perhaps you could explain what is right, such as example data (a few rows) and the expected output.

-k

RE: Message board style!

(OP)
Here is what I'd like to see:

ParentID1
...ID1
......ID2
.........ID3
............ID4

ParentID2
...ID1
......ID2
.........ID3

in the database I have a column called ParentID and a column called ID. If the same value is in both columns that means that they are related.  An ID can also become a ParentID.

Hope this explains what I have and what I intend to do

Thanks

RE: Message board style!

(OP)
Thanks for the links.  
I did get to the result I wanted but through a sub report.  Now I have a sub report in report A and I am trying to pull Report A as a sub report in the main report.  However, Report A loses the sub report when I add it to the main report.  Is there a way around it?

Thanks

RE: Message board style!

Crystal doesn't support subreports nested within subreports.

-k

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close