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


Query Builder query

Query Builder query

Query Builder query

New to Crystal Enterprise and Query Builder.  We are on CE XI r2 and I need to get a listing of all reports (Object Name) and the folder path (\Home\folder_1\folder_2....).  If at all possible, getting the associated datasource for each Object Name would be a plus.  Has anyone authored such a query and can share or provide help in creating such a query?  Will be much appreciated.  Thank you

RE: Query Builder query

This is not necessarily a simple task, nor do I think you'll be able to do it in one step.

The first thing I would to would be to run the following query in Query Builder:

Select top 5 *
where kind = 'Crystal'

That will give a list of all of the properties for a report.  It's been a while since I've done much with the SDK, but IIRC, to get the path, you'll need to walk up through the SI_PARENTID to get it.  If you can read code, you could download the SDK tutorial sample from my website (www.dellstinnett.com/sample_code.html).  There are queries in there that you could run in Query Builder that will pull this type of information.


A computer only does what you actually told it to do - not what you thought you told it to do.

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!

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