Please make sure that bEditBlock returns nil
That means, MiFunction() should return nil.
Explanation:
If bEditBlock returns nil, xbrowse does not take any further action.
But if bEditBlock returns any value other than nil, XBrowse assigns that value to the field.