We want to use the Report Designer with MySQL and someone in the forums had recommended the using XML to load the data and schema into the report designer (see http://forums.componentone.com/CS/forums/t/68403.aspx) BUT this unfortunately does not work as we expected because the tables being displayed are incorrect (some table names are actually field names).
We used a simple one table query as source for our test:SELECT * FROM tbladmairport t;
and we used the following method to generate XML from our ASP.NET application:ds.WriteXml(txtXMLFileName.Text)ds.WriteXmlSchema(txtXMLSchemaFileName.Text)
The resulting XML from WriteXmlSchema() FAILED to work at all when loaded with C1ReportDesignerThe XML from WriteXML() loaded with WEIRD RESULTS
How do we generate XML files similar to the samples provided with C1ReportDesigner????
I am looking for how to use C1Report Designer with MySQL too. However MySQL is only providing an ODBC driver, but the OLE DB provider for ODBC datasources does not work in C1 Report Designer.
Why cant I use ODBC datasources in C1 Report Designer???
Best regards, Johan Tiberg
<johan_tiberg> wrote in message news:213487@10.0.1.98... I am looking for how to use C1Report Designer with MySQL too. However MySQL is only providing an ODBC driver, but the OLE DB provider for ODBC datasources does not work in C1 Report Designer. Why cant I use ODBC datasources in C1 Report Designer??? Best regards, Johan Tiberg http://helpcentral.componentone.com/cs/forums/p/74041/213487.aspx#213487
Currently only OLEDB datasources supported by C1Report, support for ODBC datasources will be added later
Is there any workhound to do it using C1WebReport? I created a table with same name and same fields using supported provider (SLQ Server) and made my Report thinking about to change the DataSource on PageLoad event to my DSN ODBC connection.
I tryed many possibilities in XML key <DataSource> and doen's work. Is there any ConnectionString that works with ODBC DSN?
Thank you so much,
Ricardo Unterkircher
i'm currently using C1Report designer with MySql and everything works fine.
just install the ODBC MySql driver and use a connectionstring like the following: Provider=MSDataShape.1;Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=databasename;User Id=root;Password=