Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Scripted Data Set row not getting filled
Migrateduser
<p>I have created a BIRT report using scripted dataset to get data from a java class. The code seems to be able to get results but nomatter what I do I cannot get the dataset row to be filled. Here is my open script in dataset:</p><p> </p><p>open:</p><div>importPackage(Packages..javalib);</div><div> </div><div>data=new Data_ImpType();</div><div> </div><div>ev=data.GetSomething();</div><div> </div><div>and my fetch:</div><div> </div><div><div>row["EV01"]=ev[19];</div><div>row["EV02"]=ev[18];</div><div>row["EV03"]=ev[17];</div><div>row["EV04"]=ev[16];</div><div>row["EV05"]=ev[15];</div><div> </div><div>return(false);</div><div> </div><div>where the "EV01"... are the name of the column in my dataset. I can actually print out the contents of ev[] after the fetch, but the dataset table remains empty. </div><div> </div><div>BIRT did not complain about any error in the javascript. Would someone help....? Thanks ahead.</div><div> </div><div> </div></div><div> </div>
Find more posts tagged with
Comments
There are no comments yet