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

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
vcharlesAsked:
Who is Participating?
 
vcharlesAuthor Commented:
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
 
mlmccCommented:
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
 
vcharlesAuthor Commented:
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
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
vcharlesAuthor Commented:
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
 
mlmccCommented:
Great.  I thought that option had disappeared and at that time was only really useful for Access and other similar PC databases

mlmcc
0
 
vcharlesAuthor Commented:
Please close this case. I figured out the solution.
Thank You.
0
 
mlmccCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.