Form transformation and GETRECORD issue

Hi everyone,

I am trying to transform a form to a page under Nav 2009…

The problem is in this piece of code(code in the OnPush Trigger of a MenuItem):


In fact, Now, it doesn’t raise any error during the transformation and also compiles.
It becomes:

CurrPage. EvalForm .FORM.GETRECORD(customer);

but does not work. It always returns the first record in the subpage no matter what.

How can I fix that??? Any idea???