
VB.NET, XML, Crystal Reports, & Refreshing
Hi-
I have a rather small VB.NET app that receives an XML file from a
remote server. Places the file into a file on the local machine, and
uses Crystal Reports to read the XML file and generate a report.
Everything works with the exception of the report refreshing. When
the program runs, the user can enter data that will fetch a brand new
XML file. At this point I would like to be able to refresh the
report.
I've tried clicking on refresh button, and that doesn't work. I've
also tried calling the Refresh and RefreshReport methods. That still
doesn't work. If I close the application and then re-enter it, the
correct report is shown for the last information entered by the user.
For some reason Crystal Reports isn't going back to the XML file when
it is refreshing.
I am connected to the XML file through ADOplus. I think that the
recordset is being cached perhaps and that is why the refresh isn't
working. Is there a way to refresh the cache or disable it? Any
other possible solutions? Thanks!
Nick