# Edit is not working while edit and save using drop down

**URL:** <https://forum.inductiveautomation.com/t/edit-is-not-working-while-edit-and-save-using-drop-down/95454>\
**Category:** General Discussion\
**Created:** [September 3, 2024, 6:02am UTC](https://forum.inductiveautomation.com/t/edit-is-not-working-while-edit-and-save-using-drop-down/95454 "2024-09-03T06:02:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sreya\_P](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Sreya\_P](https://forum.inductiveautomation.com/u/Sreya_P)\
**Post date:** [September 3, 2024, 6:02am UTC](https://forum.inductiveautomation.com/t/edit-is-not-working-while-edit-and-save-using-drop-down/95454/1 "2024-09-03T06:02:10Z")

</div>

while edit some data which already in DB and i am not able to save/update in DB and it is not giving any error also. that data i am trying to edit is included text and drop down

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/7/57f0e870fd84a29cb25729929aa55e42c626db9a.png)

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [September 3, 2024, 10:34am UTC](https://forum.inductiveautomation.com/t/edit-is-not-working-while-edit-and-save-using-drop-down/95454/2 "2024-09-03T10:34:45Z")

</div>

In order to understand the issues you are facing you will need to share how you are passing the data to a query (hopefully a named update query) and also what the query you are using to do the update.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 3, 2024, 11:36am UTC](https://forum.inductiveautomation.com/t/edit-is-not-working-while-edit-and-save-using-drop-down/95454/3 "2024-09-03T11:36:21Z")

</div>

> [@Sreya\_P](#):
>
> and it is not giving any error also.

Perspective will not report errors unless you catch and display them (unless they appear in the wrapper log, I can't remember off top of head). In any case, you should always display errors to the user on button actions with a try/except. For sql errors you'll need to catch both python Exception as well as java.lang.Throwable exceptions. Do a search on this forum for that to find examples
