# Simple Database Editor example from inductive automation errors out

**URL:** <https://forum.inductiveautomation.com/t/simple-database-editor-example-from-inductive-automation-errors-out/28081>\
**Category:** Ignition\
**Created:** [September 6, 2019, 4:37pm UTC](https://forum.inductiveautomation.com/t/simple-database-editor-example-from-inductive-automation-errors-out/28081 "2019-09-06T16:37:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbaker](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@rbaker](https://forum.inductiveautomation.com/u/rbaker)\
**Post date:** [September 6, 2019, 4:37pm UTC](https://forum.inductiveautomation.com/t/simple-database-editor-example-from-inductive-automation-errors-out/28081/1 "2019-09-06T16:37:49Z")

</div>

I have been trying to recreate an example of a database editor in 7.9.10 by following the instruction from the following link.  
([https://docs.inductiveautomation.com/display/DOC79/Simple+Database+Editor](https://docs.inductiveautomation.com/display/DOC79/Simple+Database+Editor))

The issue I’m having is that i get an error when I go to test the first part of the example by clicking the add button. Here is the following error I get:

Traceback (most recent call last):

File “event:actionPerformed”, line 3, in

AttributeError: ‘NoneType’ object has no attribute ‘text’

I have followed the example step by step. Thinking it might be an issue with copying and pasting the script.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [September 6, 2019, 4:41pm UTC](https://forum.inductiveautomation.com/t/simple-database-editor-example-from-inductive-automation-errors-out/28081/2 "2019-09-06T16:41:59Z")

</div>

I would check your component names. The likely error is that it can’t find a text attribute since it can’t find a component with the name provided.

---

<div class="post-metadata">

**Author:** ![rbaker](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@rbaker](https://forum.inductiveautomation.com/u/rbaker)\
**Post date:** [September 6, 2019, 5:38pm UTC](https://forum.inductiveautomation.com/t/simple-database-editor-example-from-inductive-automation-errors-out/28081/3 "2019-09-06T17:38:57Z")

</div>

Please forgive my ignorance. I am very new to ignition and databases but am trying my hardest to learn. With that being said, you were correct. I did not have my text fields named correctly, or should i say, not at all. I missed that part in the instructions. I will do my best to read the instructions more carefully next time. Thank you very much for your help.
