Update Field From Button in Report

Update Field From Button in Report

Hello,

I know that the answer to this must be very easy but I just cannot manage to work it out.

I have a report in my app which lists all pending orders from the Order Form.  The report is displayed as list and I have got a button on each "row/record" named MARK AS COMPLETE.

I want that when the button is clicked that it updates the field "Date_Completed" in the Order form for that record to today's date.

Can someone please help me! I have followed all the guides but either nothing happens when I click the button or I get a variable not defined error in the deluge script.

Thank you!

Niall