John:
Okay. That's a little different...
I'm going to guess that you are running a form/subform combination, and the
subform populates based on the value in your main form (or something similar).
So, your question is how to move to a specific record...
1. You can set the Default Value property, on the control displaying your
key, to "12345"
2. Or, you can use an If statement, during an event, to set the value based
on a set of criteria. Such as:
(In the After Update event of Control1)
If Control1 = "9876" then
Control2 = "12345"
Else
End If
HTH
Sharkbyte