How do I modify a record in another form from a stateless form?

How do I modify a record in another form from a stateless form?

I am trying to modify a field based on results from information provided in a stateless form.  The form I am trying to modify the record in is called TEST_TRACKING.  It contains 1 record that will match a test number and zoho.loginuserid.  When I try and use the formula below I get a null error when i add myStatus.Passed = "Y".

  1. if (input.Percent  <  80)
  2. {
  3. openUrl("http://failedtest.blablabla.com", "Same window");
  4. }
  5. else if (count(TEST_TRACKING[(zohouser == zoho.loginuserid && Testnumber == input.TESTNUMBER)])  ==  1)
  6. {

  7. myStatus = TEST_TRACKING[(zohouser == zoho.loginuserid && Testnumber == input.TESTNUMBER)].Passed;

  8. myStatus.Passed = "Y";
  9. }