Status field not updated during loop
I wrote this script that creates records in the same layout that it loops over (see script code below). The only point where it fails now is at the point where I set the "Status" field of the active record to "New". The field value remains unchanged. The point where it updates the "Amount" field to the value of "15" in the newly created record works perfectly. It also loops nicely and ends when the $FoundRecords reaches "0".
Question: Why doesn't the "Status" field get updated?
Go to Layout [ “Registrations” (Registrations) ]
Perform Find [ Specified Find Requests: Find Records; Criteria: Registrations::RegistrationID: “<30” ]
[ Restore ]
Set Variable [ $FoundRecords; Value:Get(FoundCount) ]
Go to Record/Request/Page [ $FoundRecords ]
Set Field [ Registrations::Status["New"] ]
Set Field [ Registrations::Amount; 15 ]
Set Variable [ $FoundRecords; Value:$FoundRecords - 1 ]