Update parent status

Update parent status

I have two forms, Vehicle and Log. Vehicle form has two fields...VehicleNumber and Status while the Log form has Employee, CheckOut Date, CheckIn Date, and VehicleNumber (lookup) as the fields.

Now every time I check out a vehicle to an employee using the Log form, I want to update the Status field to 'Out' in the Vehicle form. We just signed up for Zoho and I am trying to come to terms with Deluge scripting and its syntax. Appreciate if anyone can help me get started with the code.