# onRecordSelection

**URL:** <https://forum.servoy.com/t/onrecordselection/17288>\
**Category:** Classic Servoy\
**Created:** [June 19, 2013, 7:34am UTC](https://forum.servoy.com/t/onrecordselection/17288 "2013-06-19T07:34:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hans\_Nieuwenhuis](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@Hans\_Nieuwenhuis](https://forum.servoy.com/u/Hans_Nieuwenhuis)\
**Post date:** [June 19, 2013, 7:34am UTC](https://forum.servoy.com/t/onrecordselection/17288/1 "2013-06-19T07:34:28Z")

</div>

Hi,

In 5.2.15 the onRecordSelection of the form is fired after a

```auto
forms[_form].foundset.loadAllRecords()

```

In 7.1 it is not fired in the same situation.

Bug or Feature ??

Regards,

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [August 1, 2013, 11:40am UTC](https://forum.servoy.com/t/onrecordselection/17288/2 "2013-08-01T11:40:43Z")

</div>

this is very likely a feature  
Because the selection is not really changed.  
In the ui is the same record still selected?

why are you also doing it so dynamic: forms[\_form]  
that form is visible right?

but before you call it if you take the selectedrecord and after you call it you take the selected record, is that one different?
