Hi there.
Could someone show me in PHP how to set a report's data source to a MySQL server and database programmatically, please?
Regards
Mahfouz
Setting datasource programmatically
Re: Setting datasource programmatically
Hello,
Please check the sample at the following link:
https://www.stimulsoft.com/en/samples/p ... ta-sources
Thank you.
Please check the sample at the following link:
https://www.stimulsoft.com/en/samples/p ... ta-sources
Thank you.
Re: Setting datasource programmatically
Hi Dear,
I'm using
library => Stimulsoft-Reports-PHP
version => 2016.1-Pack
sample => js
and i did not see handler->onBeginProcessData in handler.php
I'm using
library => Stimulsoft-Reports-PHP
version => 2016.1-Pack
sample => js
and i did not see handler->onBeginProcessData in handler.php
Re: Setting datasource programmatically
Hello.
Please, upgrade to our latest build.
It was added later.
Thank you.
Please, upgrade to our latest build.
It was added later.
Thank you.
Re: Setting datasource programmatically
Hi,
I upgrade to latest build => FXPHP_2016.08.26
and I did not see the function
also, I trying to add it, but it did not work
I have set another question here from 2 days but I did not get any reply
viewtopic.php?f=18&t=52401
please give me a clear solution to connect with MySQL without add connection data into the report file
I upgrade to latest build => FXPHP_2016.08.26
and I did not see the function
also, I trying to add it, but it did not work
I have set another question here from 2 days but I did not get any reply
viewtopic.php?f=18&t=52401
please give me a clear solution to connect with MySQL without add connection data into the report file
Re: Setting datasource programmatically
Hello.
The onBeginProcessData is in the \Samples\stimulsoft\helper.php file.
This event is used in the Sample.
We have answered your second question too.
Thank you.
The onBeginProcessData is in the \Samples\stimulsoft\helper.php file.
This event is used in the Sample.
We have answered your second question too.
Thank you.