Solved

How to set datasource to application's path for xml file with Crystal Report?

Posted on 2011-03-23
8
911 Views
Last Modified: 2012-05-11
Hello,

Usually when I want my report to access the data source, I set the file's path as Same as Report and it works ok, however when using xml as a data source, it doesn't work, it wants a specified path even when I select same as report, any ideas how to fix this problem?

Thanks,

Victor
0
Comment
Question by:vcharles
  • 4
  • 3
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 35203201
Where are you seeing the same as report?

What version of Crystal?

I wrote lots of reports with XML files as the source for a project.  WHat we did was specify a specific directory to keep the XML files in.  They were generated by the application after the user specified the filtering cirteria.  In that way there was never a need to change the data source.

mlmcc
0
 

Author Comment

by:vcharles
ID: 35203745
Hi,

I am trying to set the path to "Same as Report" from the Set Data Cource Location under the properties option which contains the following options: Database Type, Internal Connection and FilePath:

I need to be able to install the application to any folder, thast is why I  need the report to access the xml file from the installation's path.

Thanks,

Victor
0
 

Author Comment

by:vcharles
ID: 35203765
Forgot to mention, when I click on "Same as report" as receive a dialog box with the following option:

File Path:

Class Name

Use Dataset from class

Victor
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Accepted Solution

by:
vcharles earned 0 total points
ID: 35203796
It's working, I included the file's name in the File Path: textbox and copied the report and xml file to a new folder and it worked.

Thamks,

Victor
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35203810
Great.  I thought that option had disappeared and at that time was only really useful for Access and other similar PC databases

mlmcc
0
 

Author Comment

by:vcharles
ID: 35295893
Please close this case. I figured out the solution.
Thank You.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35688023
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now