KEYBOARD '{F2}' THISFORM.oLastObject.SETFOCUS() THISFORM.oLastObject = NULLF2 is trapped in the keypress event, which triggers the lookup. After coming back from the lookup I want to set the reference of the last object to NULL, but the execution does not wait for the first line to finish (like FPD 2.6), and I loose the reference of the last object before going to the lookup. How can I overcome this problem?