ARv12 design at runtime example, saving&retrieve reports in mysql

Posted by: mysql.jorge on 22 July 2018, 5:42 am EST

    • Post Options:
    • Link

    Posted 22 July 2018, 5:42 am EST

    Howdy,

    I want to use AR design at runtime, but i want to have sure that design at runtime works with mysql.

    I don’t use MSSQL.

    Is this possible? can you problema a sample for both saving & retrieving?

    Please answer ASAP.

  • Posted 22 July 2018, 3:21 pm EST

    Hello Jorge,

    I am glad to tell you that AR supports MySQL data provider. You can retrieve the data from the “MySQL” to show in the report(Please refer to the attached report). However, ActiveReports is reporting tool, you can retrieve the data from the different data providers but you can’t update the database through AR.

    Hope it clarifies.

    Thanks,

    Mohit

    rpt_MySQL.zip

  • Posted 24 July 2018, 9:16 am EST

    Hi Mohit,

    Oh perfect,

    Is it possible to provide an example of saving the report to mysql?

    I want to deploy design at runtime to my users, but i want the report data to be in the database.

    Also if possible, the above example, can you provide the full vb.net example? for both, the above and the designer?

  • Posted 24 July 2018, 9:21 am EST

    Oh,

    I just saw that is used the old ado connector, can’t use that :frowning:

    It has to be in pure ado.net using the mysql.net driver.

    Can you send both examples using it?

  • Posted 25 July 2018, 10:44 pm EST

    Hello Jorge,

    In order to accomplish your requirement, you can use the “DataSet” provider of the PageReport. Please refer to the following link and attached samples.

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#BindPageReportstoaData%20Source.html

    Also, I have created the dummy sample to load and save the report to the database.

    Hope it helps.

    Thanks

    MySQl_ReportDesign.zip

    MySql_connect.zip

  • Posted 31 December 2018, 3:36 am EST

    Hi Mohitg,

    Thanks, going to try and i’ll let you know.

    Only have the oportunity to do it now.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels