Seems like i forgot how system.tag.readBlocking works, that’s what i get for relying on system.tag.read for so long .
# define values:
Var1='self.parent.parent.getChild("Melt").getChild("TextField").props.text'
Var2=...
Var3=...
Var4=...
Var5=...
Var6=...
Var7=...
Var8=...
Var9=...
Var10=...
#1 define the row values into a list:
newRow = [Var1, Var2, Var3, Var4, Var5, Var6, Var7, Var8, Var9, Var10, "", "", "", "", "", "", "", "", "", "", "", "", ""]
# 2. Get the dataset:
dataset= system.tag.readBlocking("[default]ms/Test/QueryTag.value")[0].value
#3. Alter the dataset:
dataset = system.dataset.addRow(dataset,dataset.getRowCount()+1,newRow)
#The second argument is to make sure that your new row goes to the bottom
#You can change that if you want.
#4. Write it back to your tag:
System.tag.writeAsync("[default]ms/Test/QueryTag.value",dataset)
#5. Refresh Binding on the table
self.parent.parent.parent.parent.parent.getSibling("Melt").getChild.getchild("Table").props.data