# update/delete multiple entry

**URL:** <https://forum.servoy.com/t/update-delete-multiple-entry/9698>\
**Category:** Classic Servoy\
**Created:** [October 7, 2008, 9:02am UTC](https://forum.servoy.com/t/update-delete-multiple-entry/9698 "2008-10-07T09:02:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![axterics](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@axterics](https://forum.servoy.com/u/axterics)\
**Post date:** [October 7, 2008, 9:02am UTC](https://forum.servoy.com/t/update-delete-multiple-entry/9698/1 "2008-10-07T09:02:13Z")

</div>

I don’t understand what’s the best way!

I have to cycle in the foundset and check the field or there’s a best way?

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [October 7, 2008, 12:56pm UTC](https://forum.servoy.com/t/update-delete-multiple-entry/9698/2 "2008-10-07T12:56:42Z")

</div>

Could you explain a bit better what you are trying to do?

---

<div class="post-metadata">

**Author:** ![axterics](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@axterics](https://forum.servoy.com/u/axterics)\
**Post date:** [November 6, 2008, 3:46pm UTC](https://forum.servoy.com/t/update-delete-multiple-entry/9698/3 "2008-11-06T15:46:05Z")

</div>

I have to update the field x=“A” in all the records where field y=1.

Is there a best way that this:

```auto
foundset.find()
y=1
foundset.search()
for (i=0; ...){
   foundset.setSelectedIndex(i)
   x="A"
}

```

---

<div class="post-metadata">

**Author:** ![agiletortoise](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@agiletortoise](https://forum.servoy.com/u/agiletortoise)\
**Post date:** [November 6, 2008, 4:29pm UTC](https://forum.servoy.com/t/update-delete-multiple-entry/9698/4 "2008-11-06T16:29:03Z")

</div>

Take a look at the sample code for databaseManager.getFoundSetUpdater().

greg.
