I'm at a loss - Can you put together a demo with enough of your code to make it all work.
e.g. a simple form, an empty table and the browse code, all exactly as you have it now.
In fact, do that and test it, then post it up here. It might be something weird on the form.
Please see attached