title: How to fetch data for multiple values of a parameter one by one
body: <p>I have multiple values for one parameter i want to fetch data for each query for every value of parameter in Birt report. i'm getting data only for one value of parameter not all. m using Scripted data source.Open and fetch methods.Thanks</p>
  
  <p>Open in DataSet</p>
  
  <pre><code> importPackage(Packages.com.abc.test.events);
  
  var TlantNo = params["tlant"].value;
  var reqNo = params["Number"].value;
  
  poreEvents = new StdPoreReqEvents();
  poreEvents.setReqNo(reqNo);
  poreEvents.setTlantNo(TlantNo);
  poreEvents.open();
  </code></pre>
  
  <p>fetch</p>
  
  <pre><code>var poreRO = poreEvents.fetch();
  if (poreRO == null) {
      return false;
  } else
      {
  
          row["REQ_NO"] = poreRO.getReqNo();
          row["REQ_DATE"] = poreRO.getReqDate();
  
          return true;
      }
  </code></pre>