I have a script running to bring a selected value into a Vision table:
InsertAssist = ("SELECT matAssist FROM usermaterials WHERE materialName = ?")
args2 = [selected_material]
assist = system.db.runPrepQuery(InsertAssist, args2)
if selRow != -1 and selCol != -1:
newData = system.dataset.setValue(table.data, selRow, selCol2, assist)
table.data = newData
But, my result is showing:
How can I get the value out of this pydataset? The select query is providing the "name" to be asserted into this cell, so I need that actual value pulled by the prepquery.