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!

*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.

Jobs

Dynamically Opening Data Source in subReport

Dynamically Opening Data Source in subReport

(OP)
Hi

I'm not sure that this is going to make sense but I'll give it a go!

I have a Crytsla Report (Version 14) that reports on various items on various servers within a company group. The report has several sub reports which show detailed information at server level.

I need to create a new sub report that displays mailbox sizes within an exchange server. The data is held within a CSV and the path of the CSV changes based upon the company and the specific server being interogated.

The path will be L:\CompanyName\ServerName\MBSizes.csv where the only constant is the filename itself.

Is there a way to set the datasource dynamically to that path?

Thanks

Steve

RE: Dynamically Opening Data Source in subReport

I have never heard of a way to dynamically change the data source in Crystal Reports. Maybe as a .net application.

RE: Dynamically Opening Data Source in subReport

(OP)
I thought that might be the case, thanks

RE: Dynamically Opening Data Source in subReport

One way you could achieve it would be a sub report for each company, each with its own data source. Then suppress the 'other' sub reports based on the parameter selection at run time.

Hope this helps.


Cheers
Pete.

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!

Resources

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