Hoping some one here can help me, or at least point me in the right direction

  • Thread starter Thread starter Justin Lazanowski
  • Start date Start date
J

Justin Lazanowski

I know this dosen't really fit the category, but most of you ADO.NET guys do
some reporting at some point in time. If you know a better place for me to
put this let me know.


I have a Crystal Report that is external to my application. It uses an XML
file (also outside my application) as it's datasource.


I need to be able to change the XML datasource and pass this to the report
(THE XML file it's reporting on)

I can't seem to find the anwser. I don't want to pull the XML file into a
dataset and then push it to the report, I would prefer to use the Crystal
Pull method.

Thanks again!

Justin
 
Justin,

If you want your report to have a dynamic data source like what you're
talking about, what I can suggest is to make the data source of your
report an XSD file (XML schema file). This file describes what columns
and data types the report is expecting. Then when you load the report,
you point the data source of the report to your external XML file. If
in the future you have to switch to relational database, your report
should still work because you can map the schema to the dataset.

If you need more help, let me know.

Cesar
 
Not looking to do this.

I have an outside the appliation XML file (2) and an Outside the application
RPT file

I load the report, but want to change the XML datasource (on the report
object) to another external XML file programatticly.

This has got to be possible.

Thanks,

Justin
 
Back
Top