I’m trying to update the row using the button in perspective. Please can you suggest to me what is worng from my side?
date = self.getSibling(“TextField”).props.text
if date == None:
id = self.view.params.ID
system.db.runPrepUpdate(‘UPDATE sample SET date = now() where id = ?’, [id])