Page 1 of 2

calling report in PHP Code!

Posted: Wed Jun 15, 2011 11:05 pm
by dediajimk
Hello again the Stimulsoft Team.

I have another question for you. How to call the report in my php code directly? In another version ( stimulsoft report.net for example) it can like this:

[C#]

StiReport report = new StiReport();
report.Load("report.mrt");


What about in this version (stimulsoft report fx for PHP) ? Would you please help me to do it?


thanks before

best regards,

calling report in PHP Code!

Posted: Fri Jun 17, 2011 9:32 am
by Vladimir
Hello,

Unfortunately, in Reports.Fx for PHP this possibility is not available, because all actions with the report (such as generation and export) occur on the client side by the Flash application.

Thank you.

calling report in PHP Code!

Posted: Fri Jun 17, 2011 11:02 pm
by dediajimk
oh no...this is the answer i don't want to hear exactly! Cause I need the user can open up the report just by clicking the button i have provided in my app.

I hope in the future stimulsoft report fx for php product can have method like another version has.


thank you so much for your respon and help.


best regards,

calling report in PHP Code!

Posted: Mon Jun 20, 2011 10:15 am
by Vladimir
Hello,
oh no...this is the answer i don't want to hear exactly! Cause I need the user can open up the report just by clicking the button i have provided in my app.
But the Reports.Fx for PHP can simply load and display a report in the viewer by clicking a button or on the link. Additionally, it is possible to set report parameters.


Thank you.

calling report in PHP Code!

Posted: Tue Jun 21, 2011 1:12 am
by dediajimk
Would you please show me the code of it ?

thank you for your respon and help!


best regards,

calling report in PHP Code!

Posted: Wed Jun 22, 2011 3:13 am
by Vladimir
Hello,

HTML code:
Design the SimpleList.mrt report
Thank you.

calling report in PHP Code!

Posted: Thu Jun 23, 2011 2:22 am
by dediajimk
well thank you for the answer and it's very helpful ! but what i mean is the report has two paramaters in it.
suppose i have 2 parameters in my php code, something like these:
$x is the first paramater and
$y is the second paramater.

and i want the user could passing those two parameters in the SimpleList.mrt (the report for example!)
How to do that ? Would you please tell me the solution for it ?


thanks for your respon n help.

best regards,

calling report in PHP Code!

Posted: Thu Jun 23, 2011 7:33 am
by Vladimir
Hello,

You can use the following method for this:
Design the SimpleList.mrt report
x, y - variables or SQL parameters in SimpleList.mrt report.

Additionally, you can use 'sti_get_parameter' function in 'index.php' file to set values ​​for SQL parameters.

Thank you.

calling report in PHP Code!

Posted: Fri Jun 24, 2011 1:34 am
by dediajimk
well thank you very much for your help!
It helps me very much to consider buying your product at someday!


best regards,

calling report in PHP Code!

Posted: Fri Jun 24, 2011 7:54 am
by Andrew
Hello,

That was the pleasure to help you.

Thank you.