Hi,In ZSQLMethod I would have SQL query similar to this logic:IFvalue1=<dtml-var value1> and value2=<dtml-var value2>THENupdate table set(name='<dtml-var name>')where value1=<dtml-var value1> and value2=<dtml-var value2>ELSEinsert into table values(Id,name='<dtml-var name>',value1=<dtml-var value1>,value2=<dtml-var value2>)I can't figure out how to change this notation.Many greetings and thanks for every answer!