Simple Database Editor example from inductive automation errors out

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)

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.

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.

2 Likes

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.

1 Like