Crystal reports basic question

G

Guest

Hi,

I'm totally new to crystal reports (for VS.Net 2003), so please excuse if
this question is trivial:

In my application, the user is able to create XML- files, that always
contain information in the same (!) format. So, I'd like to give the user the
ability to create reports out of any of these XML- files. But how can I do
this?
It seems quite easy to create a report based on a XML file, but if so, the
report always requires that specific file at a specific path. So, in short,
how can I change the data source for a given report in my VB .NET code?

Thanks a lot
Peter
 
B

Boyd Ferris

To easily create Crystal Reports based on an XML file, crate a typed
dataset and bind the report to the dataset's XSD file or the gneerated
typed dataset class. You can set the datasource of the report by
setting the crystal report object's datasource property to an instance
of the typed dataset class.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top