domosullivan
IS-IT--Management
I have created a report that gets its data from an XML document. I have deployed this on an ASP page and I set the location of the source XML document programatically using...
session("oRpt".DiscardSavedData
session("oRpt".Database.Tables.Item(1).Location = "XMLDoc"
The report displays on the webpage but NO data is printed in the report except the text fields that were hard coded. The data from the XML file is blank. I can open it in report designer and set to the same file name and it shows the data just fine.
I am happy that the report is picking up the correct file at runtime because if I point to a file that does not exist I get an error.
Any ideas what is wrong?
session("oRpt".DiscardSavedData
session("oRpt".Database.Tables.Item(1).Location = "XMLDoc"
The report displays on the webpage but NO data is printed in the report except the text fields that were hard coded. The data from the XML file is blank. I can open it in report designer and set to the same file name and it shows the data just fine.
I am happy that the report is picking up the correct file at runtime because if I point to a file that does not exist I get an error.
Any ideas what is wrong?