Print Page | Close Window

File System Data datasource location

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=5971
Printed Date: 16 May 2024 at 7:43am


Topic: File System Data datasource location
Posted By: marin
Subject: File System Data datasource location
Date Posted: 02 Apr 2009 at 4:35am

I am working with Crystal Reports 9 and I am creating report from File System Data. Also, I am working on .NET 1.1 C# application that should be able to use that report file dynamically replacing the data source location… So I can generate reports of usage many Directories, Subdirectories, folders...

I try use the method SetDataSource, and I get error message:

“The Request could not be submitted for background processing”

Code example:

String newPath=@”C:\Folder1\Docs”;

reportDoc.Database.Table[“tablename”]. SetDataSource (newPath)

So, is there a way to generate those reports dynamically or???




Print Page | Close Window