# Help with passing foundset to Jasper

**URL:** <https://forum.servoy.com/t/help-with-passing-foundset-to-jasper/16322>\
**Category:** Classic Servoy\
**Created:** [August 8, 2012, 11:31am UTC](https://forum.servoy.com/t/help-with-passing-foundset-to-jasper/16322 "2012-08-08T11:31:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvitpr](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wvitpr](https://forum.servoy.com/u/wvitpr)\
**Post date:** [August 8, 2012, 11:31am UTC](https://forum.servoy.com/t/help-with-passing-foundset-to-jasper/16322/1 "2012-08-08T11:31:51Z")

</div>

Hello,  
I am sort of new to passing a foundset to jasper reports, Ive got the basic report working fine but it always shows only the first record in the passed foundset. Do I need to pass additional parameters, eg. pk of selected record for the report to only show that record. Code below, and assistance greatly appreciated.

```auto
var byteArr = plugins.jasperPluginRMI.runReport(foundset, "sales_print_estimate.jrxml", null, 'print', null)

```

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [August 8, 2012, 1:44pm UTC](https://forum.servoy.com/t/help-with-passing-foundset-to-jasper/16322/2 "2012-08-08T13:44:09Z")

</div>

It should show all records in your foundset, no extra parameters needed.  
Are you sure your foundset contains more records? Is there maybe something wrong with the report?

---

<div class="post-metadata">

**Author:** ![wvitpr](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wvitpr](https://forum.servoy.com/u/wvitpr)\
**Post date:** [August 8, 2012, 2:47pm UTC](https://forum.servoy.com/t/help-with-passing-foundset-to-jasper/16322/3 "2012-08-08T14:47:36Z")

</div>

Hi Joas,  
Thanks for you reply, I worked it out. I had a problem with the find before passing the foundset…all fixed
