data for my report
data for my report
greetings,
Reports.Fx in my flashbuilder 4.5 environment.
Have to write php function to query my Postgresql database and return xml string to flex.
I want to use the designer outside my project to create the generic reports for my app.
I want to then at run time, when someone selects the report in my app to have it call
the php function which returns the data encapsulated in XML. Once I have this, how do
I provide it to the report ? Do I create a default datasource when designing the report,
then replace that when displaying it in my application?
thanks for any help.
Reports.Fx in my flashbuilder 4.5 environment.
Have to write php function to query my Postgresql database and return xml string to flex.
I want to use the designer outside my project to create the generic reports for my app.
I want to then at run time, when someone selects the report in my app to have it call
the php function which returns the data encapsulated in XML. Once I have this, how do
I provide it to the report ? Do I create a default datasource when designing the report,
then replace that when displaying it in my application?
thanks for any help.
Re: data for my report
Hello.
You could use one of the methods from our Knowledge Base to register your xml-file. http://stimulsoft.helpserve.com/index.p ... =354&nav=0
Thank you.
You could use one of the methods from our Knowledge Base to register your xml-file. http://stimulsoft.helpserve.com/index.p ... =354&nav=0
Thank you.
Re: data for my report
Looking at the method from the knowledge Base, I have a question regarding:
report.regData("Demo", "Demo", data);
What are each of the arguments to the regData method ? I assume one of the "Demo" arguments is the name of the top level tag in the xml data.
Is there documentation showing all the methods and properties and their arguments ?
report.regData("Demo", "Demo", data);
What are each of the arguments to the regData method ? I assume one of the "Demo" arguments is the name of the top level tag in the xml data.
Is there documentation showing all the methods and properties and their arguments ?
Re: data for my report
Put knowlege base code in to my test app, and got the following error:
ReferenceError: Error #1065: Variable StiDesignerFx is not defined.
searched google for this error and found a stimulsoft forum response to :
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
minWidth="1024" minHeight="768" backgroundColor="#e8e8e8"
initialize="onInitialize()">
. . .
private function onInitialize(): void
{
StiViewerFx.initialize();
StiDesignerFx.initialize();
}
but that gives me syntax errors that StiViewerFx and StiDesignerFx not found.
ReferenceError: Error #1065: Variable StiDesignerFx is not defined.
searched google for this error and found a stimulsoft forum response to :
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
minWidth="1024" minHeight="768" backgroundColor="#e8e8e8"
initialize="onInitialize()">
. . .
private function onInitialize(): void
{
StiViewerFx.initialize();
StiDesignerFx.initialize();
}
but that gives me syntax errors that StiViewerFx and StiDesignerFx not found.
Re: data for my report
Hello.
You should add next Stimulsoft libraries to the libs directory of your project.
Thank you.
You should add next Stimulsoft libraries to the libs directory of your project.
Code: Select all
Stimulsoft_ViewerFx_Trial.swc
Stimulsoft_DesignerFx_Trial.swc
Re: data for my report
They are both in the lib folder of my project. They were there BEFORE I event tried to test out the report components.
Re: data for my report
Never mind. Figured out my problem.
Re: data for my report
Hello,
Perfect!
Thank you.
Perfect!
Thank you.