Problem binding XML to Crystal report 
Author Message
 Problem binding XML to Crystal report

I have saved an ADO recordset (ADO2.5) as XML, and am now trying to use it
to design a new Crystal Report.  I was able to connect to the XML and see
the columns, but no data gets displayed.  I know there is data in the XML.
I think this might have to do with the Table Hint and Row Hint stuff, but
I'm not sure.  I have also tried pressing F5 to refresh the data and that
doesn't work, either.

I have seen the same problem when I took an existing Crystal report
(designed with TTX) and tried to "Set Location" to change from the TTX to
the XML.  Once again, no data is displayed.  I don't know if this is the
right thing to do (to bind an existing Crystal Report to a "new"
datasource - the Crystal documentation does not say how to do it, but this
seems "reasonable"), so if anyone can tell me if this is the right way to do
it or if there is some other way to do it, I'd appreciate it.  Thanks!

Christine Wolak



Wed, 08 Dec 2004 06:25:34 GMT  
 Problem binding XML to Crystal report
I found the problem.  This recordset was created manually in the VB code,
and the XML file had them in a section named <rs:insert>.  These rows are
NOT visible through Crystal!  When I called .UpdateBatch (with
.ActiveConnection = Nothing), the recordset was visible with Crystal (or if
I manually remove the <rs:insert> parts from the file).  FYI, deleted rows
show up as <rs:delete> and are also not visible.  Rows that are filtered out
do not end up in the XML file at all.


Quote:
> I have saved an ADO recordset (ADO2.5) as XML, and am now trying to use it
> to design a new Crystal report.  I was able to connect to the XML and see
> the columns, but no data gets displayed.  I know there is data in the XML.
> I think this might have to do with the Table Hint and Row Hint stuff, but
> I'm not sure.  I have also tried pressing F5 to refresh the data and that
> doesn't work, either.

> I have seen the same problem when I took an existing Crystal report
> (designed with TTX) and tried to "Set Location" to change from the TTX to
> the XML.  Once again, no data is displayed.  I don't know if this is the
> right thing to do (to bind an existing Crystal Report to a "new"
> datasource - the Crystal documentation does not say how to do it, but this
> seems "reasonable"), so if anyone can tell me if this is the right way to
do
> it or if there is some other way to do it, I'd appreciate it.  Thanks!

> Christine Wolak



Sat, 11 Dec 2004 02:34:30 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Bound Reports Crystal Reports 4.5 Pro

2. Bound Report in Crystal Reports 3.1 pro/VB 3.0

3. XML Data Loading time in to Crystal Report ???

4. Using Crystal Reports with an XML file.

5. Passing XML to Crystal Reports 9.0 from .NET

6. crystal report created using xsd from an xml file

7. Crystal reports and XML

8. Does Crystal Reports 8 support XML ?

9. Reporting off XML file with Crystal Enteprise 8.0 : Help Needed Urgently

10. Crystal Report to XML

11. VB.NET, XML, Crystal Reports, & Refreshing

12. Crystal Reports 9, CR, XML, Outer Join, {oj}

 

 
Powered by phpBB® Forum Software