I’m trying to run a update query on an property change event script of the ignition table.
My script currently looks like:
data = event.source.data
if event.propertyName == “Selected Row”:
oldData = event.oldValue
idNumber = data.getValueAt(int(oldData), ‘motorID’)
#Get values from table for Database Update
I would like it to run these querys when the selected row changes instead of each individual cell gets updated which I realize would be easier.
Any ideas what I’m missing here?