How to access specific ID

How to access specific ID

Hi,

I want to select a record with the ID and update the record. Lets say the ID is 12345.
  1. MyID = MyForm[ID == 12345].ID;
  2. MyID.Status = "OK";

This doesn't work for me.
It says NULL.

Thanks.
Markus