Scripted dataset
<p>I am trying to create a month in scripted dataset so i wrote it like:</p><p> </p><p>open method :jj = 0;</p><p> </p><p>onfetch:</p><p>Months = ["January", "February", "March", </p><div> "April", "May","June", "July", </div><div> "August", "September","October", </div><div> "November","December"];</div><div> </div><div>while( jj < Months.length )</div><div>{</div><div> current_date = new Date();</div><div> <span> </span> year_value = current_date.getFullYear();</div><div> </div><div>row["month"] = Months[jj]+year_value;</div><div>jj++;</div><div>return true;</div><div>}</div><div> </div><p>but unfortunately it cant work</p><p> </p><p>output like to be::</p><p> </p><p>[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]January-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]February-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]March-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]April-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]May-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]June-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]July-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]August-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]September-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]October-2014[/color]<br />
[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]November-2014[/color]</p>
<p>[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]December-2014[/color]</p>