MySQL

Forum member · Feb 9, 2007
Is it possible to use MySQL as the data source for reports? if so can someone please explain how or point me in the direction of a tutorial? Thanks James

Re: MySQL

Support · Feb 9, 2007
Hello James, You can connect ReportWriter with MySQL by following the following steps: 1. Make sure the Properties Box visible (to display the Properties Box, select View menu, then "Properties Box"). 2. Next, select the Report to view its properties either by clicking on the blue vertical tab labeled "Report" or by selecting the report from the drop down list in the Properties window. 3. Find the "Query" property under the "Data" section of the report properties and press the more button. 4. A new Query Editor window opens up. 5. Select the Provider type as Event Driven from the list and you can specify the connection string here or in the web.config. Thanks, ceTe Software Support Team

Re: MySQL

Forum member · Aug 16, 2007
...and where I will write the SQL string ?!?!?

Re: MySQL

Support · Aug 16, 2007
Hello James, You can specify the query string in the OpeningRecordSet event of the Query. In the OpeningRecordSet event, any database connection and adapter can be used then the specific DataTable (or DataReader) be used to create a DataTableRecordSet object (or DataReaderRecordSet for DataReader) and that can be passed directly into the RecordSet to be used for the report. You can also refer to the Event Driven Querries topic on our help documentation. Thanks, ceTe Software Support Team.