# Issue with Current Record Selection

**URL:** <https://forum.servoy.com/t/issue-with-current-record-selection/9695>\
**Category:** Classic Servoy\
**Created:** [October 7, 2008, 4:41am UTC](https://forum.servoy.com/t/issue-with-current-record-selection/9695 "2008-10-07T04:41:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hareendra](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hareendra](https://forum.servoy.com/u/hareendra)\
**Post date:** [October 7, 2008, 4:41am UTC](https://forum.servoy.com/t/issue-with-current-record-selection/9695/1 "2008-10-07T04:41:09Z")

</div>

In the web client, when a single record is selected from a list view, the actual selected record is not displayed. So I checked and found that Instead, the foundset points to a record index that is not defined.

When foundset.getSelectedIndex() is called the function returns a 0. Hence the foundset is set to an index which is nonexistent.

This only happens in the web client. Can anyone pls tell me how to solve this?

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [October 7, 2008, 7:46am UTC](https://forum.servoy.com/t/issue-with-current-record-selection/9695/2 "2008-10-07T07:46:00Z")

</div>

Which version of Servoy are you working on?

And when you say list, do you mean TableView?

Paul

---

<div class="post-metadata">

**Author:** ![hareendra](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hareendra](https://forum.servoy.com/u/hareendra)\
**Post date:** [October 7, 2008, 9:56am UTC](https://forum.servoy.com/t/issue-with-current-record-selection/9695/3 "2008-10-07T09:56:44Z")

</div>

I,m using Servoy 4.0.1. OK its like this.  
I have a page that displays in Table View. as the first column I have a button “view detail”, which opens up a detail form with the details of the selected record. In the Web Client, when I click the “view details” button, it doesnt select the record I selected. the get setected index returns a 0.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [October 7, 2008, 10:14am UTC](https://forum.servoy.com/t/issue-with-current-record-selection/9695/4 "2008-10-07T10:14:08Z")

</div>

It doesn’t sound correct.

There have been a couple of reports in this area, which are fixed for the next release, which is to be released shortly.

Please test with the new version and if the problem persists, please file a case in our support system for this, preferably with sample solution.

Paul
